package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.9.tar.gz
sha256=e189067f3caf58235eee7f3f1b0f051d0192cd012e444c87492b2b502ad7c29c
md5=0f0c17b713f86d91d6be8ddf4a741745

doc/gapi-ocaml.netstring-local/Netchannels/class-tempfile_trans_channel/index.html

Class Netchannels.tempfile_trans_channelSource

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