Federation.setFollowingDispatcher(dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>,): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>
Registers a following collection dispatcher.
The URI path pattern for the following collection. The syntax
is based on URI Template
(RFC 6570). The path
must have one variable: {identifier}
.
dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>
A following collection callback to register.
CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>
An object with methods to set other following collection callbacks.