Stone.js API
Docs
Home
Preparing search index...
stone-js-notifications/src/channels/InAppChannel
BroadcasterLike
Interface BroadcasterLike
The shape this channel needs from a broadcaster, duck-typed so no realtime import is required.
interface
BroadcasterLike
{
to
:
(
channel
:
string
,
)
=>
{
emit
:
<
T
>
(
event
:
string
,
payload
?:
T
)
=>
Promise
<
void
>
}
;
}
Index
Properties
to
Properties
to
to
:
(
channel
:
string
,
)
=>
{
emit
:
<
T
>
(
event
:
string
,
payload
?:
T
)
=>
Promise
<
void
>
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
to
Docs
Home
Stone.js API
Loading...
The shape this channel needs from a broadcaster, duck-typed so no realtime import is required.