Home Manual Reference Source Repository

Contributors

References

References

Function Summary

Static Public Function Summary
public

bindRequestActions(actions: Object, dispatch: Function): Object

Takes an object with keys as function names and values of action factory slices

public

catchAction(actionSlice: Object, context: Object): Observable

Appends a catch to a call for handling failure action with the error as payload.

public

Ensures that all payloads in actions are in the form of objects

public

Creates an Action Factory

public

createActionTypeFactory(factoryName: String, factorySlice: String, actionTypes: Object, requestPayloadCreator: Function): Function

Creates an ActionSlice

public

failure(actionSlice: Object, context: Object): ActionCreator

Action creator for FAILURE type actions

public

failureObs(actionSlice: Object, context: Object): Observable

Appends a catch to a call for handling failure action with the error as payload.

public

mapAction(actionSlice: Object, context: Object): Observable

Wrap data in a this-bound observable to success/failure actions based on observable state A catch transformation is run on this observable converting the failed observable to one carrying the failure action with the error as payload.

public

request(actionSlice: Object): Function

Action creator for REQUEST type actions

public

success(actionSlice: Object, context: Object): ActionCreator

Action creator for SUCCESS type actions

Variable Summary

Static Public Variable Summary
public

Names for the subtypes of ActionSlice

Typedef Summary

Static Public Typedef Summary
public

Creates an object consumable by Redux

public

A function that defines a namespace for creating slices

public

An object containing base type, subtypes, and a payload creator

External Summary

Static Public External Summary
public

A RXJS Observable type for Redux Observable

public

A helper for binding request actions to Redux Store.dispatch