package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stream.OutSource

Sourcetype 'a t

Stream outputs.

A Out.t value represents the side of a stream where values can be pushed to. Only one value can be pushed at a time. Trying to push two values concurrently will result in an error.

Sourceval create : ('a option -> unit t) -> 'a t

Create a stream output. The callback is the consumer for values pushed to the stream.

Sourceval write : 'a t -> 'a option -> unit t
Sourceval null : unit -> 'a t
OCaml

Innovation. Community. Security.