Factory

interface Factory

Creates instances of RemoteApiService scoped to a lifecycle of a single lens.

Types

Link copied to clipboard

Convenience implementation of RemoteApiService.Factory which does not support any API spec IDs and always returns RemoteApiService.Noop.

Functions

Link copied to clipboard

Called to create a new instance of RemoteApiService scoped to a lifecycle of the provided lens. The returned RemoteApiService is closed when the associated lens is removed from the processing pipeline.

Properties

Link copied to clipboard

A set of API spec IDs that are supported by RemoteApiService instances created by this Factory. NOTE: API spec ID can be obtained from a Lens Studio project which uses a particular remote API service associated to an API spec ID.

Inheritors

Link copied to clipboard