package gapi-ocaml

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

A transactional output channel with a transaction buffer implemented * as temporary file * *

  • parameter close_mode

    Specifies the semantics of close_out, by default * `Commit *

    @param tmp_directory

    See make_temporary_file *

    @param tmp_prefix

    See make_temporary_file

method commit_work : unit -> unit

Flushes the transaction buffer, and writes its contents to the * underlying resource.

method rollback_work : unit -> unit

Empties the transaction buffer

OCaml

Innovation. Community. Security.