@firebolt-js/openrpc
Version:
The Firebolt SDK Code & Doc Generator
20 lines (12 loc) • 343 B
Markdown
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}