A parametric interface implemented by events with a payload
that can be subscribed to.
Matched with signalable.
Verse using statement |
using { /Verse.org/Verse } |
subscribable<public>(t:any):subscribable(t)
This function is a parametric type, meaning it returns a class or interface rather than a value or object instance.
Parameters
subscribable
takes the following parameters:
Name | Type | Description |
---|---|---|
t |
any |
Generated Interface
subscribable
returns the parametric interface subscribable(t)
.
Attributes and Effects
The following attributes and effects determine how subscribable
behaves and how you can use it in your programs. For the complete list of attribute and effect specifiers, see the Specifiers Page.
Attribute | Meaning |
---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |