module Ketrew_long_running: sig
.. end
Definition of the interface required from “long-running task” plugins.
type
error = [ `Fatal of string | `Recoverable of string ]
The “imposed” error types for “long-running” plugins.
A `Fatal _
error will make the target die with the error,
whereas if an error is `Recoverable _
Ketrew will keep trying
(for example, a networking error which may not happen later).
module type LONG_RUNNING = sig
.. end
The module type LONG_RUNNING
defines the interface for plugins.