Additional settings for a collection dispatcher.
TContext extends Context<TContextData>
The type of the context. Context or RequestContext.
The context data to pass to the Context.
setCounter(counter: CollectionCounter<TContextData, TFilter>): CollectionCallbackSetters<TContext, TContextData, TFilter>
Sets the counter for the collection.
setFirstCursor(cursor: CollectionCursor<TContext, TContextData, TFilter>): CollectionCallbackSetters<TContext, TContextData, TFilter>
Sets the first cursor for the collection.
setLastCursor(cursor: CollectionCursor<TContext, TContextData, TFilter>): CollectionCallbackSetters<TContext, TContextData, TFilter>
Sets the last cursor for the collection.
authorize(predicate: AuthorizePredicate<TContextData>): CollectionCallbackSetters<TContext, TContextData, TFilter>
Specifies the conditions under which requests are authorized.