Guide 1 Docs 2 Reference 3

Function of BlockSpec

blockSpec.on_tick

A scheduled tick this block asked for came due.

blockSpec.on_tick((block: BlockAt, base: (...any) -> any) -> ()) → ?

Parameters

(blockBlockAt, base: (...any) -> any) -> ()required

Returns

?