Entity / foldkit-entity/transition

suppliedOf

function · packages/entity/src/writeTransition.ts:320

function suppliedOf<E, R>(
  write: AnyWrite,
  by: ExprContext,
  read: ContextRead<E, R>,
): Effect.Effect<
  {
    readonly supplied: WriteSupplied
    readonly unfilled: ReadonlyArray<string>
  },
  E,
  R
>

What transitionOf(write) is supplied when it runs, read once: the viewer's id, the time, and what a path from the viewer's row reads (through read, one row at a time). unfilled names each member there is no value for, as Write.contextValues does; a caller refuses such a write, since supplied lacks the value.