Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RpcProxy

Hierarchy

  • RpcProxy

Index

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

          • Rest ...args: unknown[]

          Returns Promise<Observable<any>>

    • exceptionsHandler: RpcExceptionsHandler

    Returns (...args: unknown[]) => Promise<Observable<unknown>>

      • (...args: unknown[]): Promise<Observable<unknown>>
      • Parameters

        • Rest ...args: unknown[]

        Returns Promise<Observable<unknown>>

handleError

  • handleError<T>(exceptionsHandler: RpcExceptionsHandler, args: unknown[], error: T): Observable<unknown>

isObservable

  • isObservable(result: any): boolean

Generated using TypeDoc