What is registered under this id right now, or absent when nothing is.
the service's API type
the service key, from (String)
the current registration, or null when none is registered
Every service id registered right now.
the registered service ids
Offers an implementation under this id, until the returned function is called.
the service's API type
the service key, from (String)
this plugin's implementation of the service
a function that withdraws the registration when called
Waits for the id to be registered, for a host default the implementation chooses.
the service's API type
the service key, from (String)
a stage that completes with the registration once one appears
Waits for the id to be registered, giving up after the stated time.
the service's API type
the service key, from (String)
how long to wait before giving up
a stage that completes with the registration, or fails once the wait times out
Reports every registration and removal of this id until the returned function is called. The listener is handed the service and either "register" or "unregister"; on the latter the service is absent.
the service's API type
the service key, from (String)
called with the current registration (or absent) and the event kind
a function that stops the watch when called
How a plugin reaches another plugin's API, and offers its own.
Remarks
A typed handle, never an import: the plugin answering is whichever one registered the id, so no plugin ever names another. This is what makes a plugin terminal, and it is the reason a host needs no import of anything it drives.