0.1.6 • Published 1 year ago

react-native-lf-thread v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-lf-thread

Asynchronous Threading Tool Library for react-native

Installation

Via npm

npm install react-native-lf-thread

Via yarn

yarn add react-native-lf-thread

Usage

import { asyncFn } from 'react-native-lf-thread';

// ...
const bigDataComputing = (params) => {
  // ... do some heavy computing
  const results =  doSomething(params);
  return results;
}

 asyncFn(bigDataComputing, (results)=>{
   // Synchronizing data to the UI
   console.log(results);
 });

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago