Preparing search index...
The search index is not available
The Extollo Framework
The Extollo Framework
EventBus
Interface EventBus<TEvent>
Type Parameters
TEvent
extends
Event
=
Event
Hierarchy
EventBus
Implemented by
Bus
LocalBus
RedisBus
WebSocketBus
Index
Properties
uuid
Methods
down
is
Connected
pipe
push
subscribe
up
Properties
Readonly
uuid
uuid
:
string
Methods
down
down
(
)
:
Awaitable
<
void
>
Returns
Awaitable
<
void
>
is
Connected
is
Connected
(
)
:
boolean
Returns
boolean
pipe
pipe
<
T
>
(
eventKey
:
StaticInstantiable
<
T
>
, line
:
Pipeline
<
T
,
EventHandlerReturn
>
)
:
Awaitable
<
EventHandlerSubscription
>
Type Parameters
T
extends
Event
Parameters
eventKey:
StaticInstantiable
<
T
>
line:
Pipeline
<
T
,
EventHandlerReturn
>
Returns
Awaitable
<
EventHandlerSubscription
>
push
push
(
event
:
TEvent
)
:
Awaitable
<
void
>
Parameters
event:
TEvent
Returns
Awaitable
<
void
>
subscribe
subscribe
<
T
>
(
eventKey
:
StaticInstantiable
<
T
>
, handler
:
EventHandler
<
T
>
)
:
Awaitable
<
EventHandlerSubscription
>
Type Parameters
T
extends
Event
Parameters
eventKey:
StaticInstantiable
<
T
>
handler:
EventHandler
<
T
>
Returns
Awaitable
<
EventHandlerSubscription
>
up
up
(
)
:
Awaitable
<
void
>
Returns
Awaitable
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
The
Extollo
Framework
Getting
Started
About
Extollo
api
Event
Bus
uuid
down
is
Connected
pipe
push
subscribe
up