- future<T>(value$, loading$?, error$?): Future<NonNullable<T>>
Parameters
- value$: Observable<undefined | T>
Optional
loading$: Observable<boolean>Optional
error$: Observable<
| undefined
| string
| boolean
| Error>
Returns Future<NonNullable<T>>
Future
Readonly
configure
configure: (<T>(value$: Observable<T>,
loading$?: Observable<boolean>,
error$?: Observable< | undefined | string | boolean | Error>) => FutureConfig<T, T>) Type declaration
- <T>(value$, loading$?, error$?): FutureConfig<T, T>
Parameters
- value$: Observable<T>
Optional
loading$: Observable<boolean>Optional
error$: Observable<
| undefined
| string
| boolean
| Error>
Returns FutureConfig<T, T>
Readonly
fromObservable
fromObservable: (<T>(value$: Subscribable<T>) => Future<T>) Readonly
fromRequest
fromRequest: (<T>(req: Observable<T>) => Future<T>)
Create a Future