Skip to main content

Function: addMethodHandler()

function addMethodHandler(contract_module, methodName, handler): void;

Adds a method handler for a specific method name.

Parameters

contract_module: ContractHandlers

Contract module containing the method.

methodName: string

The name of the method.

handler: MethodCallback

The method callback to add.

Returns

void


Coinweb © 2024