package current_rpc

  1. Overview
  2. Docs
Cap'n Proto RPC plugin for OCurrent

Install

Dune Dependency

Authors

Maintainers

Sources

current-v0.5.tbz
sha256=f8c884318a46a568d965c7e8bac00dfe2339efac04ca6f0cbabef916d8b917ca
sha512=e0633239a7d02cdde6264db96c39ed7e3d1adf3a7f09bb25ad002d388f203b561e8c808daee90539bc0ee15c547d2ab4bef1789dcc9c22ed00b151bad0083f64

doc/current_rpc/Current_rpc/Engine/index.html

Module Current_rpc.EngineSource

Client-side API to contact an engine service.

Sourcetype t = [ `Engine_f0961466d2f9bbf5 ] Capnp_rpc_lwt.Capability.t
Sourceval active_jobs : t -> (Job.id list, [> `Capnp of Capnp_rpc.Error.t ]) result Lwt.t

active_jobs t lists the OCurrent jobs that are still being used in the pipeline. This includes completed jobs, as long as OCurrent is still ensuring they are up-to-date.

Sourceval job : t -> Job.id -> Job.t

job t id is the job with the given ID. This does not have to be an active job (but only active jobs can be rebuilt). If the job ID is unknown, this operation will resolve to a suitable error.

OCaml

Innovation. Community. Security.