/ fm / liveswitch / DispatchQueue
Class: DispatchQueue<T>
fm.liveswitch.DispatchQueue
Type parameters
Name |
---|
T |
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new DispatchQueue<T>(action
: IAction1<T>): DispatchQueue<T>
Type parameters:
Name |
---|
T |
Parameters:
Name | Type |
---|---|
action |
IAction1<T> |
Returns: DispatchQueue<T>
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:9
Properties
_action
• Private
_action: IAction1<T>
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:9
_count
• Private
_count: AtomicLong
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:8
Methods
destroy
▸ destroy(): void
Returns: void
Implementation of: IDispatchQueue
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:28
enqueue
▸ enqueue(item
: T): void
Parameters:
Name | Type |
---|---|
item |
T |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:30
getQueueCount
▸ getQueueCount(): number
Returns: number
Implementation of: IDispatchQueue
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:24
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/DispatchQueue.ts:4