package gapi-ocaml

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059

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