Skip to main content
Module

x/ldkit/library/asynciterator.ts>AsyncIterator#_changeState

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
method AsyncIterator.prototype._changeState
Re-export
import { AsyncIterator } from "https://deno.land/x/ldkit@v0.6.4/library/asynciterator.ts";

Changes the iterator to the given state if possible and necessary, possibly emitting events to signal that change.

Parameters

newState: number

The ID of the new state

optional
eventAsync: boolean

Returns

boolean

Whether the state was changed