ExecutionPlane.Evidence.Sink behaviour (execution_plane v0.1.0)

Copy Markdown View Source

Evidence sink behaviour registered by node hosts.

Summary

Callbacks

emit(t, keyword)

@callback emit(
  ExecutionPlane.Evidence.t(),
  keyword()
) :: :ok | {:error, term()}

flush(keyword)

@callback flush(keyword()) :: :ok | {:error, term()}

sink_id()

@callback sink_id() :: String.t()