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}

---
