Guide 1 Docs 2 Reference 3

Function of BlockSpec

blockSpec.on_step

A body is standing on it; body is { id, kind }.

blockSpec.on_step((block: BlockAt, body: Body, base: (...any) -> any) -> ()) → ?

Parameters

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

Returns

?