- Preparing search index...
- The search index is not available
Moirae
Constructors
constructor
- new ResponseWrapper<T>(payload: T, responseKey: string, routingKey: string): ResponseWrapper<T>
-
Parameters
-
payload: T
-
responseKey: string
-
routingKey: string
Properties
Private
payloadType
payloadType: string
Readonly
responseKey
responseKey: string
Readonly
routingKey
routingKey: string
Methods
toPlain
- toPlain(): Record<string, unknown>
-
Returns Record<string, unknown>
Static
fromPlain
- fromPlain<T>(plain: Record<string, unknown>): ResponseWrapper<T>
-
Parameters
-
plain: Record<string, unknown>