Claudex.Stream.Handle (Claudex v0.6.1)

Copy Markdown View Source

Identifies a stream started with Claudex.Messages.stream_to/3.

ref is the tag on every message the stream sends you; pid is the process doing the sending, which Claudex.Stream.cancel/1 talks to.

Summary

Types

t()

@type t() :: %Claudex.Stream.Handle{pid: pid(), ref: reference()}