Classhttpv0.3.1-next.0
Subscriber
Base class for an HTTP subscriber, binding this.core to the HTTP Core.
abstract class Subscriber<
KeyOfSubscribers extends SubscriptionKey
> extends Subscriber<KeyOfSubscribers, Core>Member visibility
Filter class members by access level.
constructor
Instantiates the subscriber with event data and core.
Subscriber(data: AllSubscriptions[KeyOfSubscribers], core: TCore)Parameter:
dataThe subscriber event data
Parameter:
coreThe core framework instance
Inherited from:Subscriber
KeyOfSubscribers
The subscription key this handler receives
KeyOfSubscribers extends SubscriptionKeycore
protected readonly core: TCoreInherited from:Subscriber
data
protected readonly data: AllSubscriptions[KeyOfSubscribers]Inherited from:Subscriber
logger
protected readonly logger: LoggerInherited from:Subscriber
execute()
Executes the subscriber handler logic.
Inherited from:Subscriber