Guide 1 Docs 2 Reference 3

Function of BlockAmendSpec

blockAmendSpec.on_neighbour

A neighbour at from changed; announced is the block the notifier announced itself as.

blockAmendSpec.on_neighbour((block: BlockAt, from: Vec3, announced: string, base: (...any) -> any) -> ()) → ?

Parameters

(blockBlockAt, from: Vec3, announced: string, base: (...any) -> any) -> ()required

Returns

?