Reference
requestState
Declares lazily initialized state: one value per server request, or one value in the browser. Create mutable values and their computed dependencies inside the initializer. Initializer resources belong to the request, independently of the calling component. Server reads outside a request scope throw instead of sharing process-wide state.
Signature
function requestState<T>(initialize: (): T): (): T