Methods
create
- create(targetCallback: (...args: unknown[]) => Promise<Observable<any>>, exceptionsHandler: RpcExceptionsHandler): (...args: unknown[]) => Promise<Observable<unknown>>
-
Parameters
-
targetCallback: (...args: unknown[]) => Promise<Observable<any>>
-
- (...args: unknown[]): Promise<Observable<any>>
-
Parameters
Returns Promise<Observable<any>>
-
Returns (...args: unknown[]) => Promise<Observable<unknown>>
-
- (...args: unknown[]): Promise<Observable<unknown>>
-
Parameters
Returns Promise<Observable<unknown>>
handleError
- handleError<T>(exceptionsHandler: RpcExceptionsHandler, args: unknown[], error: T): Observable<unknown>
-
Type parameters
Parameters
Returns Observable<unknown>
isObservable
- isObservable(result: any): boolean
-
Parameters
Returns boolean