Structural shape of a FetchEngine response — checked without importing @logosdx/fetch, an optional peer dependency useAsync shouldn't require since it wraps arbitrary async functions, not just FetchEngine calls.
@logosdx/fetch
useAsync
Discriminator distinguishing response-like objects from arbitrary { ok, status, data } domain shapes.
{ ok, status, data }
Structural shape of a FetchEngine response — checked without importing
@logosdx/fetch, an optional peer dependencyuseAsyncshouldn't require since it wraps arbitrary async functions, not just FetchEngine calls.