Skip to content

Latest commit

 

History

History
108 lines (61 loc) · 2.62 KB

queue.md

File metadata and controls

108 lines (61 loc) · 2.62 KB

@daostack/clientGlobalsQueue

Class: Queue

Hierarchy

  • Queue

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ 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

Properties

context

context: Arc

Defined in queue.ts:95


dao

dao: DAO

Defined in queue.ts:94


id

id: string

Defined in queue.ts:93

Methods

state

state(apolloQueryOptions: IApolloQueryOptions): Observable‹IQueueState

Defined in queue.ts:100

Parameters:

Name Type Default
apolloQueryOptions IApolloQueryOptions {}

Returns: Observable‹IQueueState


Static search

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