mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
rsocket - adds Single.never() (#43603)
This commit is contained in:
parent
378e67bfe3
commit
e90ac91923
1
types/rsocket-flowable/Single.d.ts
vendored
1
types/rsocket-flowable/Single.d.ts
vendored
@ -47,6 +47,7 @@ export interface IFutureSubject<T> {
|
||||
export default class Single<T> {
|
||||
static of<U>(value: U): Single<U>;
|
||||
static error(error: Error): Single<never>;
|
||||
static never(): Single<never>;
|
||||
constructor(source: Source<T>);
|
||||
subscribe(partialSubscriber?: Partial<IFutureSubscriber<T>>): void;
|
||||
flatMap<R>(fn: (data: T) => Single<R>): Single<R>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user