api/classes/counter
Globals / Counter
Class: Counter
Hierarchy
- Counter
Index
Properties
Accessors
Methods
Properties
count
• count: number = 0
Defined in packages/core/lib/main/Counter.ts:4
Accessors
increased
• get increased(): boolean
Defined in packages/core/lib/main/Counter.ts:5
Returns: boolean
Methods
inc
▸ inc(s
: number): QIO<number, never, unknown>
Defined in packages/core/lib/main/Counter.ts:8
Parameters:
Name | Type | Default value |
---|---|---|
s | number | 1 |
Returns: QIO<number, never, unknown>