• fetch api state handler

    Prop

    url to be fetched

    Returns

    url fetch response

    Parameters

    • callback: ((res: Response) => any)
        • (res: Response): any
        • Parameters

          • res: Response

          Returns any

    • throwback: ((e: any) => any) = noop
        • (e: any): any
        • Parameters

          • e: any

          Returns any

    Returns ((url: string) => void)

      • (url: string): void
      • Parameters

        • url: string

        Returns void

Generated using TypeDoc