ReadonlyonRegister event listener for specific events.
Register event listener for any event.
must be "*" for this overload
the event handler callback will be invoked when any event has been emitted
a handle to unregister from the events
Register event listener for the events listed in eventName.
Comma separated event names are possible, for example "eventA,eventB".
the event name or list of names
the event handler callback
a handle to unregister from the event(s)
ID of the store.
Name of the property used as ID. If not provided, the 'getIdentity' method must be declared.
Create a new item. Throws an error, if the item already exists. The 'overwrite' option is assumed to be false).
Optionaloptions: CreateOptions<IDType>Retrieves an item by its identifier.
id of an item in the store.
Optionaloptions: GetOptionsoptions to specify the result.
Saves the given item. Depending on the specified options, a new item is created or a given item is updated.
item to update/create
Optionaloptions: CreateOptions<IDType>options to specify the PUT operation
Queries the store using the provided query.
Optionalquery: ComplexQueryExpressiona query to execute.
Optionaloptions: QueryOptionsthe query options.
A writeable asynchronous store.