Register an API processor with the component framework. This allows different components to collect information about APIs as they are registered. NB: This works only for main component host and will process information only about APIs registered in the main host.
A function that processes the API call.
Obtain an implementation of the API with the specified API ID.
The implementation can either be a "local" object (same web context), or a facade for a remote object (different web context).
The component framework ensures that method calls and events are propagated to remote objects.
The unique identifier of the API.
Register an API with the component framework. This allows other components to consume this API.
If this is the singleton host, other remote component frameworks will be able to remotely call this API.
The component framework allows TypeScript components to communicate using well-defined APIs.
APIs are TypeScript interfaces that meet certain requirements: