Remote / foldkit-remote-domain

Receipt

const · packages/remote-domain/src/index.ts:10

const Receipt: Schema.Struct<{
  readonly stream: Schema.String
  readonly version: Schema.Number
}>

Its type

type Receipt = typeof Receipt.Type

What a Domain command answers besides its reply: the stream it appended to and how many events that stream now holds.

In the guides