networkResource

inline fun <RequestType> networkResource(crossinline fetch: suspend () -> RequestType, crossinline shouldFetch: () -> Boolean = { true }): Flow<Resource<Failure.NetworkConnection, RequestType>>