suspense-service

suspense-service / Exports / Service

Interface: Service<TRequest, TResponse>

A Suspense integration for providing asynchronous data through a Context API

Type parameters

Name
TRequest
TResponse

Table of contents

Properties

Properties

Consumer

Consumer: ServiceConsumer<TRequest, TResponse>

Defined in: Service/index.ts:18


Provider

Provider: ServiceProvider<TRequest>

Defined in: Service/index.ts:19


[kResource]

[kResource]: IdContext<[() => TResponse, Dispatch<SetStateAction<TRequest>>]>

internal

Defined in: Service/index.ts:21