UNPKG

@talend/react-containers

Version:

Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.

24 lines (23 loc) 1.09 kB
/** * This function wait until a collection is here * @param {string} collectionName the name of the collection * @param {int} interval the interval to check again if the collection is there */ export function waitFor(collectionName: string, interval?: int): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect<true>, void, unknown>; /** * This function handle a specific step * @param {object} step a bootstrap step that could contain a actionCreator list or a waitList */ export function handleStep(step: object): Generator<import("redux-saga/effects").AllEffect<any>, any, unknown>; /** * This saga load the actionCreator or wait on some steps * @param {object} props the saga props * @param {array} props.steps an array of steps to handle */ export function appLoaderSaga({ steps }: { steps: array; }): Generator<import("redux-saga/effects").CallEffect<any>, void, unknown>; export const ACTION_CREATORS: "actionCreators"; export const SAGAS: "sagas"; export const WAIT_FOR: "waitFor"; export const TAKE_ACTION: "takeAction";