Skip to content

Documentation / @agentick/core / GateState

Interface: GateState

Defined in: core/src/hooks/gate.ts:84

Properties

active

active: boolean

Defined in: core/src/hooks/gate.ts:85


clear()

clear: () => void

Defined in: core/src/hooks/gate.ts:92

Release the gate. For verified gates this is transient — the predicate re-engages the gate at the next tick end if still unsatisfied.

Returns

void


defer()

defer: () => void

Defined in: core/src/hooks/gate.ts:98

Postpone the gate (latch gates only — the model must still face it before completing). No-op on verified gates, whose lifecycle is owned entirely by the predicate.

Returns

void


deferred

deferred: boolean

Defined in: core/src/hooks/gate.ts:86


element

element: Element | null

Defined in: core/src/hooks/gate.ts:99


engaged

engaged: boolean

Defined in: core/src/hooks/gate.ts:87

Released under the ISC License.