TinyBase logoTinyBase

Callback type aliases

This is the collection of callback type aliases within the store module. There are 9 callback type aliases in total.

TableCallback

The TableCallback type describes a function that takes a Table's Id and a callback to loop over each Row within it.

Read more

TableCellCallback

The TableCellCallback type describes a function that takes a Cell's Id and the count of times it appears across a whole Table.

Read more

RowCallback

The RowCallback type describes a function that takes a Row's Id and a callback to loop over each Cell within it.

Read more

CellCallback

The CellCallback type describes a function that takes a Cell's Id and its value.

Read more

GetCell

The GetCell type describes a function that takes a Id and returns the Cell value for a particular Row.

Read more

MapCell

The MapCell type describes a function that takes an existing Cell value and returns another.

Read more

MapValue

The MapValue type describes a function that takes an existing Value and returns another.

Read more

ValueCallback

The ValueCallback type describes a function that takes a Value's Id and its actual value.

Read more

DoRollback

The DoRollback type describes a function that you can use to rollback the transaction if it did not complete to your satisfaction.

Read more