The service registered under an id right now, or undefined.
the service id to look up
the registered service, or undefined when none is registered
Every id registered right now.
the registered service ids, or empty when none is registered
Registers a service. Call the result to withdraw it.
the service id to register under
the value other plugins reach through get, want or watch
a disposer that withdraws the registration when called
Waits for a service to arrive, under the registry's default deadline.
the service id to wait for
a promise that resolves with the service once registered, or rejects on timeout
Waits for a service to arrive, under the deadline given.
the service id to wait for
the deadline to wait under
a promise that resolves with the service once registered, or rejects on timeout
Watches one id for registration and unregistration. Call the result to stop.
the service id to watch
called with the service and the event on each registration or unregistration
a disposer that cancels the watch when called
One plugin's view of the live service registry, as reached through ContextSurface.
Remarks
wantis two overloads rather than one method with an optional parameter, mirroring howassertManifestalready renders an optional trailing argument for this same processor.watch's listener is aBiConsumerof the service and the event, so one subscription covers registration and withdrawal.getis| undefinedbecause a missing service is an absent map entry rather than an answer.