S.PUBLISHERA publisher sets a key to a value.
include OPERATIONA short and unique name for this operation, used as a filename component and database key. e.g. "docker-build"
module Key : WITH_DIGESTThe id, Key.t pair uniquely identifies the operation.
module Value : WITH_DIGESTThe value to publish.
module Outcome : WITH_MARSHALExtra information about the result, if any. Usually this is just Current.Unit.
val publish :
t ->
Current.Job.t ->
Key.t ->
Value.t ->
Outcome.t Current.or_error Lwt.tpublish t j k v sets output k to value v. Call Job.start j once any required resources have been acquired. Log messages can be written to j.