The extensible event-driven stateful interface.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark
spec
.gitignore
.travis.yml
LICENSE
README.md
Response.js
Response.js.flow
karma.conf.js
package.json

README.md

Response Build Status

The extensible event-driven stateful interface.

  • State(state)

    • .EVENT_CHANGE_STATE

    • .STATE_ERROR

    • .isState(object)

    • .create

    • .invoke(method, args, context)

    • #isState

    • #state

    • #keys

    • #data

    • #stateData

    • #invoke(method, args, context)

    • #destroy(recursive)

    • #is(state)

    • #setState(state, data)

    • #onState(state, listener, context)

    • #onceState(state, listener, context)

    • #onChangeState(listener, context)

    • #offChangeState(listener)

    • #setData(key, value)

    • #getData(key)

    • #getStateData(key)

    • #toObject(keys)

    • #toJSON()

  • Response(parent)

    • .STATE_PENDING

    • .STATE_RESOLVED

    • .STATE_REJECTED

    • .EVENT_PROGRESS

    • .isResponse(object)

    • .create(constructor, copyStatic)

    • .resolve(results)

    • .reject(reason)

    • .invoke(method, args, context)

    • .State(state)

    • .Queue(stack, start)

    • #State(state)

    • #isResponse

    • #pending()

    • #resolve(results)

    • #reject(reason)

    • #progress(progress)

    • #isPending()

    • #isResolved()

    • #isRejected()

    • #then(onResolve, onReject, onProgress, context)

    • #any(listener, context)

    • #onPending(listener, context)

    • #onResolve(listener, context)

    • #notify(parent)

    • #listen(response)

    • #done()

    • #map()

    • #fork()

    • #getResult(key)

    • #getReason()

  • Queue(stack, start)

    • .EVENT_START

    • .EVENT_STOP

    • .EVENT_NEXT_ITEM

    • .create(constructor, copyStatic)

    • .invoke(method, args, context)

    • .isQueue(object)

    • .Response(parent)

    • #isQueue

    • #isStrict

    • #isStarted

    • #item

    • #start()

    • #stop()

    • #push(item, key)

    • #strict(flag)

    • #onStart(listener, context)

    • #onStop(listener, context)

    • #onNextItem(listener, context)