Preparing search index...
The search index is not available
sim-ecs - v0.6.4
sim-ecs
EventBus
Class EventBus
Hierarchy
EventBus
Implements
IEventBus
Index
Constructors
constructor
Methods
create
Reader
create
Writer
publish
subscribe
subscribe
Reader
unsubscribe
unsubscribe
Reader
Constructors
constructor
new
Event
Bus
(
)
:
EventBus
Returns
EventBus
Methods
create
Reader
create
Reader
<
T
>
(
Event
)
:
EventReader
<
T
>
Type Parameters
T
extends
TObjectProto
Parameters
Event
:
Readonly
<
T
>
Returns
EventReader
<
T
>
create
Writer
create
Writer
<
T
>
(
)
:
EventWriter
<
T
>
Type Parameters
T
extends
TObjectProto
Returns
EventWriter
<
T
>
publish
publish
(
event
)
:
Promise
<
void
>
Parameters
event
:
object
Returns
Promise
<
void
>
subscribe
subscribe
<
T
>
(
Event
,
handler
)
:
void
Type Parameters
T
extends
TObjectProto
Parameters
Event
:
T
handler
:
TSubscriber
<
T
>
Returns
void
subscribe
Reader
subscribe
Reader
<
T
>
(
reader
)
:
void
Type Parameters
T
extends
TObjectProto
Parameters
reader
:
Readonly
<
IEventReader
<
T
>
>
Returns
void
unsubscribe
unsubscribe
<
T
>
(
Event
,
handler
)
:
void
Type Parameters
T
extends
TObjectProto
Parameters
Event
:
T
handler
:
TSubscriber
<
T
>
Returns
void
unsubscribe
Reader
unsubscribe
Reader
<
T
>
(
reader
)
:
void
Type Parameters
T
extends
TObjectProto
Parameters
reader
:
Readonly
<
EventReader
<
T
>
>
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
create
Reader
create
Writer
publish
subscribe
subscribe
Reader
unsubscribe
unsubscribe
Reader
sim-ecs - v0.6.4
EAccess
EExistence
EQueryType
ETargetType
Entity
EntityAdded
EntityBuilder
EntityRemoved
EventBus
Pipeline
PreptimeWorld
PushDownAutomaton
Query
RuntimeWorld
Scheduler
SerDe
SerialFormat
SimECSPushDownAutomaton
Stage
State
SyncPoint
Loading...
Generated using
TypeDoc