@1inch/ng-utils
Advanced tools
Comparing version 1.1.1 to 1.1.4
import { Observable } from "rxjs"; | ||
import { IStreamEffectController, IStreamEffectControllerWithoutPayload, IStreamEffectOptions } from "./stream-effect-cntroller.interface"; | ||
export declare function effect<R, E extends (Error | void) = Error>(streamEffectFactory: () => Observable<R>, options: IStreamEffectOptions): IStreamEffectControllerWithoutPayload<R, E>; | ||
export declare function effect<P, R, E extends (Error | void) = Error>(streamEffectFactory: (action: Observable<P>) => Observable<R>, options: IStreamEffectOptions): IStreamEffectController<P, R, E>; | ||
export declare function effect<R, E extends (Error | void) = Error>(streamEffectFactory: () => Observable<R>, options: IStreamEffectOptions<unknown>): IStreamEffectControllerWithoutPayload<R, E>; | ||
export declare function effect<P, R, E extends (Error | void) = Error>(streamEffectFactory: (action: Observable<P>) => Observable<R>, options: IStreamEffectOptions<P>): IStreamEffectController<P, R, E>; |
@@ -22,3 +22,3 @@ import { Observable } from 'rxjs'; | ||
autoSubscribeEffect?: boolean; | ||
callSource$?: Observable<P>; | ||
callSource$?: P extends unknown ? unknown : Observable<P>; | ||
} | ||
@@ -25,0 +25,0 @@ export interface IStreamEffectControllerWithoutPayload<V, E = Error> { |
{ | ||
"name": "@1inch/ng-utils", | ||
"version": "1.1.1", | ||
"version": "1.1.4", | ||
"author": "Denis Kotsiuba <kocubads96@gmail.com, d.kotsiuba@1inch.io> https://github.com/DKotsyuba", | ||
@@ -5,0 +5,0 @@ "description": "Angular reactive utils library", |
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
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
Sorry, the diff of this file is not supported yet
273700