[CI Skip] 0.38.2
This commit is contained in:
@@ -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)`
|
||||
|
||||
___
|
||||
|
||||
@@ -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)`
|
||||
|
||||
___
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
___
|
||||
|
||||
@@ -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)`
|
||||
|
||||
___
|
||||
|
||||
Reference in New Issue
Block a user