Skip to content

Latest commit

 

History

History
91 lines (65 loc) · 1.72 KB

File metadata and controls

91 lines (65 loc) · 1.72 KB

Constants

runLater

Run Later: Ideally run smth when nothing happens

createDeferDefer

Defer implementation

waitForPromise

Get a promise from storage by name

add

Add a promise to storage

loadPromise

Load resource

Functions

addDefer(name)

Add defer if it doesn't exist

runLater

Run Later: Ideally run smth when nothing happens

Kind: global constant

Param Type
fn function

createDefer ⇒ Defer

Defer implementation

Kind: global constant

waitFor ⇒ Promise

Get a promise from storage by name

Kind: global constant

Param Type
name string

add

Add a promise to storage

Kind: global constant

Param Type
name string
promise Promise

load ⇒ Promise

Load resource

Kind: global constant

Param Type
name string
resources string | function | Array.<(string|function())>

addDefer(name)

Add defer if it doesn't exist

Kind: global function

Param Type
name string