@daostack/client › Globals › Queue
- Queue
+ new Queue(id
: string, dao
: DAO, context
: Arc): Queue
Defined in queue.ts:90
Parameters:
Name | Type |
---|---|
id |
string |
dao |
DAO |
context |
Arc |
Returns: Queue
• context: Arc
Defined in queue.ts:95
• dao: DAO
Defined in queue.ts:94
• id: string
Defined in queue.ts:93
▸ state(apolloQueryOptions
: IApolloQueryOptions): Observable‹IQueueState›
Defined in queue.ts:100
Parameters:
Name | Type | Default |
---|---|---|
apolloQueryOptions |
IApolloQueryOptions | {} |
Returns: Observable‹IQueueState›
▸ search(context
: Arc, options
: IQueueQueryOptions, apolloQueryOptions
: IApolloQueryOptions): Observable‹Queue[]›
Defined in queue.ts:39
Queue.search(context, options) searches for queue entities
Parameters:
Name | Type | Default | Description |
---|---|---|---|
context |
Arc | - | an Arc instance that provides connection information |
options |
IQueueQueryOptions | {} | the query options, cf. IQueueQueryOptions |
apolloQueryOptions |
IApolloQueryOptions | {} | - |
Returns: Observable‹Queue[]›
an observable of Queue objects