• Creates a custom fetch instance with a user defined 'backend' function. This is useful for testing if you do not want your requests to against an actual backend service.

    The implementation returned by this function will implement all the usual features of apprt-fetch but will call the provided impl function instead of using the browser's fetch API to retrieve a response.

    Parameters

    Returns CustomFetch