Interface: EventContract<B>
Defined in: packages/contracts/src/registry.ts:91
An event contract: published, any subscribers, no reply.
Type Parameters
B
B extends TSchema = TSchema
Properties
body
readonlybody:B
Defined in: packages/contracts/src/registry.ts:95
Schema of the event body.
kind
readonlykind:"event"
Defined in: packages/contracts/src/registry.ts:93
Tells an event contract from a request one; it matches the subject's prefix.