Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

createQuery

createQuery<T>(…parameters): Query<T>

Koota’s createQuery, which also takes a predicted trait: with none it returns koota’s own query, and with one a PredictedQuery. A game imports it from the engine rather than from koota.

Type Parameter
T extends QueryParameter[]
Parameter Type
…parameters T

Query<T>

createQuery<T>(…parameters): PredictedQuery<T>

Koota’s createQuery, which also takes a predicted trait: with none it returns koota’s own query, and with one a PredictedQuery. A game imports it from the engine rather than from koota.

Type Parameter
T extends EngineQueryParameter[]
Parameter Type
…parameters T

PredictedQuery<T>