Federation.setObjectDispatcher<>(cls: (new (...args: any[]) => TObject) & { typeId: URL; },path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`,dispatcher: ObjectDispatcher<TContextData, TObject, TParam>,): ObjectCallbackSetters<TContextData, TObject, TParam>
Registers an object dispatcher.
The Activity Vocabulary class of the object to dispatch.
path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`
The URI path pattern for the object dispatcher. The syntax is based on URI Template (RFC 6570). The path must have one or more variables.
dispatcher: ObjectDispatcher<TContextData, TObject, TParam>
An object dispatcher callback to register.
ObjectCallbackSetters<TContextData, TObject, TParam>