Pristine.Ports.Streaming behaviour (Pristine v0.3.1)

Copy Markdown View Source

Port for SSE decoding and streaming helpers.

Summary

Types

event()

@type event() :: Pristine.Streaming.Event.t()

input()

@type input() :: binary() | Enumerable.t()

Callbacks

decode(input, keyword)

@callback decode(input(), keyword()) :: Enumerable.t()