@laserware/stasis
    Preparing search index...

    Type Alias AsyncThunkPayloadCreator<Returned, ThunkArg, ThunkApiConfig>

    AsyncThunkPayloadCreator: (
        arg: ThunkArg,
        thunkAPI: GetThunkAPI<ThunkApiConfig>,
    ) => AsyncThunkPayloadCreatorReturnValue<Returned, ThunkApiConfig>

    A type describing the payloadCreator argument to createAsyncThunk. Might be useful for wrapping createAsyncThunk in custom abstractions.

    Type Parameters

    • Returned
    • ThunkArg = void
    • ThunkApiConfig extends AsyncThunkConfig = {}

    Type declaration