@effection/events
Advanced tools
Comparing version 0.7.3-7b65da7 to 0.7.3-86f6496
@@ -31,2 +31,3 @@ 'use strict'; | ||
function* once(source, eventName) { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
var onceListener = function onceListener() {}; | ||
@@ -33,0 +34,0 @@ |
@@ -29,2 +29,3 @@ import { createSubscription } from '@effection/subscription'; | ||
function* once(source, eventName) { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
var onceListener = function onceListener() {}; | ||
@@ -31,0 +32,0 @@ |
{ | ||
"name": "@effection/events", | ||
"version": "0.7.3-7b65da7", | ||
"version": "0.7.3-86f6496", | ||
"description": "Helpers for listening to events with effection", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"lint": "echo [skip @effection/events]", | ||
"lint": "eslint '{src,tests}/**/*.ts'", | ||
"test": "mocha -r ts-node/register test/**/*.test.ts", | ||
@@ -20,0 +20,0 @@ "prepack": "tsdx build --tsconfig tsconfig.dist.json", |
@@ -9,2 +9,3 @@ import { Operation } from 'effection'; | ||
export function *once(source: EventSource, eventName: string): Operation { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
let onceListener = () => {}; | ||
@@ -11,0 +12,0 @@ try { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24381
228