View Source alcove_codec (alcove v1.0.0)

Summary

Types

type/0

-type type() :: alcove_call | alcove_stdout | alcove_stderr | alcove_event | alcove_pipe.

Functions

call(Call, Pids, Arg)

-spec call(atom(), [alcove:pid_t()], [any()]) -> iodata().

decode(Msg)

-spec decode(binary()) -> {type(), [alcove:pid_t()], term()}.

stdin(Pids, Data)

-spec stdin([alcove:pid_t()], iodata()) -> iodata().

stream(Data)

-spec stream(binary()) -> {[binary()], binary()}.