Files
api/docs/rpc-provider/modules/_mock_unsubscribe_.md
T
2018-10-15 21:40:51 +00:00

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`>
___