API Reference
Rockets Core API
nestjs-event
interfaces
EventAsyncInterface

Interface: EventAsyncInterface<P, R>

The interface that all async events must adhere to

Extends

Type Parameters

Type ParameterDefault type
Pundefined
RP

Properties

PropertyTypeDescriptionInherited from
expectsReturnOfPromise<R>-EventInterface.expectsReturnOf
keystringEvent key.EventInterface.key
payloadPReturn the payload that should be emitted.EventInterface.payload