Skip to content

ceu/react-native-lf-thread

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published