- runLater
Run Later: Ideally run smth when nothing happens
- createDefer ⇒
Defer Defer implementation
- waitFor ⇒
Promise Get a promise from storage by name
- add
Add a promise to storage
- load ⇒
Promise Load resource
- addDefer(name)
Add defer if it doesn't exist
Run Later: Ideally run smth when nothing happens
Kind: global constant
| Param | Type |
|---|---|
| fn | function |
Defer implementation
Get a promise from storage by name
Kind: global constant
| Param | Type |
|---|---|
| name | string |
Add a promise to storage
Kind: global constant
| Param | Type |
|---|---|
| name | string |
| promise | Promise |
Load resource
Kind: global constant
| Param | Type |
|---|---|
| name | string |
| resources | string | function | Array.<(string|function())> |
Add defer if it doesn't exist
Kind: global function
| Param | Type |
|---|---|
| name | string |