mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
rsocket - adds Single.never() (#43603)
This commit is contained in:
Vendored
+1
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user