Federation.setNodeInfoDispatcher(path: string,dispatcher: NodeInfoDispatcher<TContextData>,): void
Registers a NodeInfo dispatcher.
path: string
The URI path pattern for the NodeInfo dispatcher. The syntax is based on URI Template (RFC 6570). The path must have no variables.
dispatcher: NodeInfoDispatcher<TContextData>
A NodeInfo dispatcher callback to register.