UNPKG

@firebolt-js/openrpc

Version:
20 lines (12 loc) 343 B
To subscribe to notifications when the value changes, call the method like this: ```typescript function ${method.alternative}(${event.signature.params}${if.context}, ${end.if.context}callback: (value) => ${method.result.type}): Promise<number> ``` ${event.params} Promise resolution: ``` number ``` #### Examples ${method.examples} ---