Skip to content

wirestate-core

Bind

NameDescription
BindEntryOptionsRepresents options for bindEntry.
BindServiceOptionsRepresents options for bindService.
InjectableDescriptorRepresents one container entry.
InjectableEntriesRepresents entries accepted by Wirestate registration APIs.
bindConstantBinds a fixed value to a token.
bindDynamicValueBinds a factory-backed value to a token.
bindEntryBinds a class or descriptor into a container.
bindServiceBinds a service class as a Wirestate singleton.
getEntryTokenReturns the token for an entry.

Commands

NameDescription
CommandStatusRepresents the current state of a command execution.
CommandBusDispatches named commands to one active handler.
CommandDescriptorRepresents the handle for a running command.
CommandHandlerRepresents the function that handles a command.
CommandTypeRepresents token used to dispatch and handle commands.
CommandUnregisterRepresents the function returned by command registration.
OnCommandMarks a service method as a command handler.

Container

NameDescription
WireScopePer-service handle for container work.
CreateContainerOptionsRepresents options for createContainer.
ContainerConfigRepresents reusable createContainer config.
createContainerCreates a Wirestate container.
getContainerEntriesReturns entries Wirestate bound into a container.
validateContainerConfigChecks a container config before creating a container.

Error

ClassDescription
WirestateErrorError type thrown by Wirestate APIs.

Events

NameDescription
EventBusBroadcasts events to every subscriber in one container.
EventRepresents event payload delivered to handlers.
EventHandlerRepresents the function that handles an event.
EventTypeRepresents token used to emit and filter events.
EventUnsubscriberRepresents the function that removes an event subscription.
OnEventMarks a service method as an event handler.

Queries

NameDescription
QueryBusDispatches named queries to one active handler.
QueryHandlerRepresents the function that handles a query.
QueryTypeRepresents token used to dispatch and handle queries.
QueryUnregisterRepresents the function returned by query registration.
OnQueryMarks a service method as a query handler.

Seeds

NameDescription
SeedEntriesRepresents a collection of targeted seed entries.
SeedEntryRepresents a single targeted seed entry.
SeedKeyRepresents a lookup key for targeted seed values.
SeedsMapRepresents a map of targeted seed values.
SEEDUnique symbol used as a token for the container-scoped shared seed object.
SEEDSUnique symbol used as a token for the container-scoped seeds map.
applySeedsAdds targeted seed values to a container.
applySharedSeedReplaces the shared seed object.
unapplySeedsRemoves targeted seed values from a container.

Service

NameDescription
ProvisionLifecycleRepresents provider lifecycle state keyed by container.
deprovisionContainerDeprovisions a container for a framework provider.
deprovisionServicesCalls deprovision hooks for provisioned services.
OnActivatedRuns a service method after container activation.
OnDeactivationRuns a service method during container deactivation.
OnDeprovisionRuns before a framework provider stops exposing the container.
OnProvisionRuns when a framework provider exposes the container.
provisionContainerProvisions a container for a framework provider.
provisionServicesResolves provider lifecycle participants and calls provision hooks.

Type Aliases

Type AliasDescription
ContainerActivationServices to resolve right after binding.

External-inversify

NameDescription
Container-
ContainerModule-
LazyServiceIdentifier-
BindInFluentSyntax-
BindingConstraints-
BindingIdentifier-
BindInWhenOnFluentSyntax-
BindOnFluentSyntax-
BindToFluentSyntax-
BindWhenFluentSyntax-
BindWhenOnFluentSyntax-
BoundServiceSyntax-
ContainerModuleLoadOptions-
ContainerOptions-
GetAllOptions-
GetOptions-
GetOptionsTagConstraint-
InjectFromBaseOptions-
InjectFromBaseOptionsLifecycle-
InjectFromHierarchyOptions-
InjectFromHierarchyOptionsLifecycle-
IsBoundOptions-
MultiInjectOptions-
OptionalGetOptions-
ResolutionContext-
ResolvedValueMetadataInjectTagOptions-
AbstractNewable-
Bind-
BindingActivation-
BindingDeactivation-
BindingScope-
DynamicValueBuilder-
Factory-
IsBound-
MapToResolvedValueInjectOptions-
MetadataName-
MetadataTag-
Newable-
Rebind-
RebindSync-
ResolvedValueInjectOptions-
ResolvedValueMetadataInjectOptions-
ServiceIdentifier-
Unbind-
UnbindSync-
bindingScopeValues-
bindingTypeValues-
decorate-
forwardRefWraps a token for circular constructor dependencies.
Inject-
Injectable-
InjectFromBase-
InjectFromHierarchy-
MultiInject-
Named-
Optional-
PostConstruct-
PreDestroy-
Tagged-
Unmanaged-

External-inversify-binding

BindingType

Renames and re-exports bindingTypeValues


ScopeBindingType

Renames and re-exports bindingScopeValues