Objective Redux

Redux made better, objectively.

getObjectiveStoreFromSagaContext

function getObjectiveStoreFromSagaContext(): Generator<any, ObjectiveStore, ObjectiveStore>

Gets the ObjectiveStore instance from the saga's context.

Returns

Generator
A generator that yields an instance of the ObjectiveStore.

Examples

function* () {
  const objectiveStore = yield getObjectiveStoreFromSagaContext();
}