redux-saga
Advanced tools
Comparing version 0.15.5 to 0.15.6
@@ -39,3 +39,3 @@ import {Action} from "redux"; | ||
export const take: { | ||
export interface Take { | ||
<A extends Action>(pattern?: Pattern): TakeEffect; | ||
@@ -46,4 +46,6 @@ <T>(channel: Channel<T>): ChannelTakeEffect<T>; | ||
maybe<T>(channel: Channel<T>): ChannelTakeEffect<T>; | ||
}; | ||
} | ||
export const take: Take; | ||
/** | ||
@@ -75,3 +77,3 @@ * @deprecated | ||
export const put: { | ||
export interface Put { | ||
<A extends Action>(action: A): PutEffect<A>; | ||
@@ -86,6 +88,12 @@ <T>(channel: Channel<T>, action: T | END): ChannelPutEffect<T | END>; | ||
*/ | ||
sync: typeof put.resolve; | ||
}; | ||
sync<A extends Action>(action: A): PutEffect<A>; | ||
/** | ||
* @deprecated | ||
*/ | ||
sync<T>(channel: Channel<T>, action: T | END): ChannelPutEffect<T | END>; | ||
} | ||
export const put: Put; | ||
export type GenericAllEffectDescriptor<T> = T[] | {[key: string]: T}; | ||
@@ -208,3 +216,3 @@ | ||
args: [T1, T2, T3]): CallEffect; | ||
export function apply<T1, T2, T3, T4>(context: any, | ||
export function apply<T1, T2, T3, T4>(context: any, | ||
fn: Func4<T1, T2, T3, T4>, | ||
@@ -211,0 +219,0 @@ args: [T1, T2, T3, T4]): CallEffect; |
{ | ||
"name": "redux-saga", | ||
"version": "0.15.5", | ||
"version": "0.15.6", | ||
"description": "Saga middleware for Redux to handle Side Effects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -129,3 +129,3 @@ <img src='https://redux-saga.js.org/logo/0800/Redux-Saga-Logo-Landscape.png' alt='Redux Logo Landscape' width='800px'> | ||
- [Chinese](https://github.com/superRaytin/redux-saga-in-chinese) | ||
- [Chinese Traditional](https://github.com/neighborhood999/redux-saga) | ||
- [Traditional Chinese](https://github.com/neighborhood999/redux-saga) | ||
- [Japanese](https://github.com/redux-saga/redux-saga/blob/master/README_ja.md) | ||
@@ -132,0 +132,0 @@ - [Korean](https://github.com/mskims/redux-saga-in-korean) |
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
856934
8067