Saxonberg Server API
Preparing search index...
mud/api/event
Subscription
Interface Subscription<T>
interface
Subscription
<
T
=
unknown
>
{
eventName
:
string
;
lastPayload
:
T
|
null
;
unsubscribe
()
:
void
;
}
Type Parameters
T
=
unknown
Index
Properties
event
Name
last
Payload
Methods
unsubscribe
Properties
Readonly
event
Name
eventName
:
string
Readonly
last
Payload
lastPayload
:
T
|
null
The most recent payload seen by
emit
, or
null
if none yet.
Methods
unsubscribe
unsubscribe
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
event
Name
last
Payload
Methods
unsubscribe
Saxonberg Server API
Loading...
The most recent payload seen by
emit, ornullif none yet.