Subscription

constructor(userdata: Userdata, u: SubscriptionU)(source)

Parameters

userdata

User-provided value that is attached to the subscription in the implementation and returned through event::userdata.

u

The type of the event to which to subscribe, and its contents