Skip to content

pivotick v3.0.0


pivotick / Pivot / PivotContext

Interface: PivotContext ​

Defined in: interfaces/Pivot.ts:372

Handed to both provider calls as the last argument. Extends RenderContext, so cancellation works the way it does everywhere else: forward signal to fetch, or poll isStale() between steps.

Extends ​

Methods ​

isStale() ​

isStale(): boolean

Defined in: interfaces/AsyncContent.ts:71

true once this render has been superseded. A cheap guard for consumers doing non-abortable work, so they can bail out between steps without touching RenderContext.signal.

Returns ​

boolean

Inherited from ​

RenderContext.isStale

Properties ​

graph ​

graph: Pivotick

Defined in: interfaces/Pivot.ts:373


pivotId ​

pivotId: string

Defined in: interfaces/Pivot.ts:375

Which pivot is running.


signal ​

readonly signal: AbortSignal

Defined in: interfaces/AsyncContent.ts:65

Aborted when this render is superseded — the tooltip hid or reopened for another element, the selection changed, the panel was refreshed or removed, the graph was destroyed. Forward it to fetch and in-flight requests are cancelled instead of leaked.

Inherited from ​

RenderContext.signal