Skip to content

Latest commit

 

History

History
69 lines (37 loc) · 2.12 KB

_events_eventhandlerprovider_.md

File metadata and controls

69 lines (37 loc) · 2.12 KB

@brainhubeu/sqrs"events/EventHandlerProvider"

Module: "events/EventHandlerProvider"

Index

Type aliases

Variables

Functions

Type aliases

EventHandlerProvider

Ƭ EventHandlerProvider: function

Defined in events/EventHandlerProvider.ts:18

A function that resolves an event handler by the event type.

param event type

interface EventHandlerProvider

Type declaration:

▸ (type: string): EventHandler[]

Parameters:

Name Type
type string

Variables

Const eventHandlerProviderId

eventHandlerProviderId: symbol & BoundType‹function› = depId('EventHandlerProvider')

Defined in events/EventHandlerProvider.ts:10

DependencyIdentifier of EventHandlerProvider

Functions

containerEventHandlerProviderFactory

containerEventHandlerProviderFactory(container: Container): EventHandlerProvider

Defined in events/EventHandlerProvider.ts:26

Creates a function that resolves event handler from the container for a given event by it's type

Parameters:

Name Type
container Container

Returns: EventHandlerProvider