TinyBase logoTinyBase β

QueryCallback

The QueryCallback type describes a function that takes a query's Id.

(queryId: Id): void
TypeDescription
queryIdId

The Id of the query that the callback can operate on.

returnsvoid

This has no return value.

A QueryCallback is provided when using the forEachQuery method, so that you can do something based on every query in the Queries object. See that method for specific examples.

Since

v2.0.0