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

@keiii/k-stream

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keiii/k-stream - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

11

dist/core.js

@@ -101,9 +101,6 @@ import { some, none, isSome } from './option';

if (observersMap.size === 0) {
if (replay) {
lastValue = none;
}
if (subscription !== null) {
subscription.unsubscribe();
subscription = null;
}
isCompleted = false;
lastValue = none;
subscription === null || subscription === void 0 ? void 0 : subscription.unsubscribe();
subscription = null;
}

@@ -110,0 +107,0 @@ };

{
"name": "@keiii/k-stream",
"version": "0.0.34",
"version": "0.0.35",
"description": "K-Stream is a functional reactive stream library for TypeScript",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -24,5 +24,5 @@ # Functional reactive stream library for TypeScript

```
K-Steam provides helper function to create steam from your data source:
Create steam from your data source:
```typescript
const stream = ksCreateStream<MouseEvent>(ksShare, observer => {
const stream = ksShare<MouseEvent>(observer => {
const handler = (e: MouseEvent) => observer.next(e);

@@ -29,0 +29,0 @@ document.addEventListener('click', handler);

Sorry, the diff of this file is not supported yet

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