Skip to content

adamant-api / index / NewBlockHandler

Type Alias: NewBlockHandler ​

ts
type NewBlockHandler = (block) => void | Promise<void>;

Defined in: src/helpers/wsClient.ts:107

Parameters ​

ParameterType
blockClientWebSocketNewBlock

Returns ​

void | Promise<void>

Released under the GPL-3.0 License.