26 lines
486 B
Markdown
26 lines
486 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="unsubscribe"></a>
|
|
|
|
## unsubscribe
|
|
|
|
▸ **unsubscribe**(self: *`MockState`*, type: *`string`*, name: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
|
|
|
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/99b9332/packages/rpc-provider/src/mock/unsubscribe.ts#L7)*
|
|
|
|
**Parameters:**
|
|
|
|
| Param | Type |
|
|
| ------ | ------ |
|
|
| self | `MockState` |
|
|
| type | `string` |
|
|
| name | `string` |
|
|
| id | `number` |
|
|
|
|
**Returns:** `Promise`<`boolean`>
|
|
|
|
___
|
|
|