Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conclure-quarx

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conclure-quarx - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "conclure-quarx",
"version": "0.5.0",
"version": "0.5.1",
"description": "Reactive flows",

@@ -5,0 +5,0 @@ "type": "module",

@@ -134,1 +134,20 @@ import { createAtom, autorun, Quarx } from 'quarx';

}
export function autorunFlow(computation, options = {}) {
const {
name = 'autorunFlow',
} = options;
let cancel;
const stop = autorun(() => {
if (cancel) cancel();
cancel = conclude(reactiveFlow(computation()), () => {});
}, { name });
return () => {
if (cancel) cancel();
stop();
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc