UsageRecording: the mechanism UsageRecorder implements.
API
@Interface()
export abstract class UsageRecording {
abstract record(
ctx: UsageContext,
msg: AmspRecord<AmspPayload>,
source?: "stream" | "standalone",
): Promise<void>;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (1)
record
record(ctx: UsageContext, msg: AmspRecord<AmspPayload>, source?: "stream" | "standalone"): Promise<void>@paramctx
UsageContext@parammsg
AmspRecord<AmspPayload>@paramsource?
"stream" | "standalone"@returns
Promise<void>