Comparing version 0.14.0-rc.2 to 0.14.0-rc.3
@@ -67,2 +67,12 @@ | ||
export type Subscription = { | ||
unsubscribe(): void, | ||
} | ||
export type Subscriber<A> = { | ||
next(value: A): void, | ||
// error(err: Error): void, | ||
complete(): void, | ||
} | ||
export type Event<Payload, State> = { | ||
@@ -85,2 +95,3 @@ (params: Payload): { | ||
): Event<void, State>, | ||
subscribe(subscriber: Subscriber<Payload>): Subscription, | ||
} | ||
@@ -111,2 +122,3 @@ | ||
fail: Event<{params: Params, error: Fail}, State>, | ||
subscribe(subscriber: Subscriber<Params>): Subscription, | ||
} | ||
@@ -113,0 +125,0 @@ |
{ | ||
"name": "effector", | ||
"version": "0.14.0-rc.2", | ||
"version": "0.14.0-rc.3", | ||
"description": "Reactive state manager", | ||
@@ -5,0 +5,0 @@ "main": "effector.cjs.js", |
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
242895
2801