[CI Skip] 0.38.2

This commit is contained in:
Travis CI
2019-01-09 10:05:24 +00:00
parent f6c93e48b7
commit ea20e195f1
355 changed files with 3072 additions and 2900 deletions
+25
View File
@@ -0,0 +1,25 @@
# Functions
<a id="cache"></a>
## `<Const>` cache
▸ **cache**(fn: *`Function`*, map?: *`WeakMap`<`object`, `any`>*): `(Anonymous function)`
*Defined in [cache.ts:23](https://github.com/polkadot-js/api/blob/f6c93e4/packages/api-derive/src/cache.ts#L23)*
Create memoization for a 2-currified function.
**Parameters:**
| Name | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| fn | `Function` | - | The function to memoize. |
| `Default value` map | `WeakMap`<`object`, `any`> | new WeakMap() | The Map used to cache function returns. |
**Returns:** `(Anonymous function)`
___
+2
View File
@@ -0,0 +1,2 @@
@@ -0,0 +1,24 @@
# Functions
<a id="bestnumber"></a>
## bestNumber
▸ **bestNumber**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [chain/bestNumber.ts:13](https://github.com/polkadot-js/api/blob/f6c93e4/packages/api-derive/src/chain/bestNumber.ts#L13)*
Get the latest block number.
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___
+2
View File
@@ -0,0 +1,2 @@
+34
View File
@@ -0,0 +1,34 @@
# Index
### Interfaces
* [Derive](../interfaces/_index_.derive.md)
### Functions
* [decorateDerive](_index_.md#decoratederive)
---
# Functions
<a id="decoratederive"></a>
## decorateDerive
▸ **decorateDerive**(api: *`ApiRx`*): [Derive](../interfaces/_index_.derive.md)
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/f6c93e4/packages/api-derive/src/index.ts#L27)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** [Derive](../interfaces/_index_.derive.md)
___
+2
View File
@@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
@@ -0,0 +1,22 @@
# Functions
<a id="sessionprogress"></a>
## sessionProgress
▸ **sessionProgress**(api: *`ApiRx`*): `(Anonymous function)`
*Defined in [session/sessionProgress.ts:13](https://github.com/polkadot-js/api/blob/f6c93e4/packages/api-derive/src/session/sessionProgress.ts#L13)*
**Parameters:**
| Name | Type |
| ------ | ------ |
| api | `ApiRx` |
**Returns:** `(Anonymous function)`
___