package session

  1. Overview
  2. Docs

Module Session.SSource

Session-related signatures and types.

Sourcetype error =
  1. | Not_found
    (*

    The key was not found.

    *)
  2. | Not_set
    (*

    The key was found but had no associated value.

    *)

The type of a session error.

These will only be returned by the S.Now.get and S.Future.get operations.

Sourcemodule type Now = sig ... end

The signature for synchronous backends.

Sourcemodule type IO = sig ... end

The signature for a blocking computations.

Sourcemodule type Thread_IO = sig ... end

The signature for blocking computations that can run synchronous computations in a separate thread

Sourcemodule type Future = sig ... end

The signature for asynchronous backends.