TimeContext
Interface: TimeContext
Defined in: src/time/wire.ts:43
What a tool that declares a period is handed about the call's time
(ctx.time). asked is the half-open range the call asks for — the
person's window when the library filled or bound it, the sent value read
back otherwise — so a tool can declare the period.queried its read covered
without parsing its own argument. Absent when no form read the call back.
Properties
asked?
readonlyoptionalasked?:TimeRange&object
Defined in: src/time/wire.ts:45
Type Declaration
edge
readonlyedge:"exclusive"
dispatchedAt
readonlydispatchedAt:string
Defined in: src/time/wire.ts:57
The wall clock when the library handed the call to the tool — the call row's.
now
readonlynow:string
Defined in: src/time/wire.ts:55
The turn's frozen clock (§ 4).
version
readonlyversion:1
Defined in: src/time/wire.ts:44
zone
readonlyzone:string
Defined in: src/time/wire.ts:47
The person's zone for this run (the clock's).
zoneUnknown?
readonlyoptionalzoneUnknown?:true
Defined in: src/time/wire.ts:53
The person's zone is NOT known (the clock's zoneSource: 'unknown', G15):
zone is only the UTC spelling of the instants, never the person's — a
tool must not read a wall time in it as theirs. Absent when the zone is known.
