Patrick Jackson
08/04/2019, 11:04 PM/**
* Convenience function for creating thunks.
* Usage:
* val myThunk = createThunk { dispatch, getState, extraArgument ->
* //do async stuff
* dispatch(NewAction())
* }
*
* ....
*
* store.dispatch(myThunk)
*
* DEV NOTE: This will not be needed if/when typealias for Thunk works with K/N
*/