├── .browserslistrc ├── .editorconfig ├── .eslintrc.json ├── .gitattributes ├── .gitignore ├── .huskyrc.json ├── .lintstagedrc.json ├── .npmignore ├── .prettierrc.json ├── .travis.yml ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── index.ts ├── types │ ├── async-function-state.ts │ ├── async-function.ts │ ├── reduced-stateful-async-function.ts │ ├── state.ts │ └── stateful-async-function.ts ├── use-async-function.test.ts ├── use-async-function.ts └── utils │ ├── async-function-reducer.test.ts │ └── async-function-reducer.ts ├── tsconfig.json ├── webpack.config.js └── yarn.lock /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.gitignore -------------------------------------------------------------------------------- /.huskyrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.huskyrc.json -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types/async-function-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/types/async-function-state.ts -------------------------------------------------------------------------------- /src/types/async-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/types/async-function.ts -------------------------------------------------------------------------------- /src/types/reduced-stateful-async-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/types/reduced-stateful-async-function.ts -------------------------------------------------------------------------------- /src/types/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/types/state.ts -------------------------------------------------------------------------------- /src/types/stateful-async-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/types/stateful-async-function.ts -------------------------------------------------------------------------------- /src/use-async-function.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/use-async-function.test.ts -------------------------------------------------------------------------------- /src/use-async-function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/use-async-function.ts -------------------------------------------------------------------------------- /src/utils/async-function-reducer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/utils/async-function-reducer.test.ts -------------------------------------------------------------------------------- /src/utils/async-function-reducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/src/utils/async-function-reducer.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesStover/use-async-function/HEAD/yarn.lock --------------------------------------------------------------------------------