View Source Yex.Subscription (y_ex v0.7.1)

A subscription .

Summary

Types

t()

@type t() :: %Yex.Subscription{doc: Yex.Doc.t(), reference: reference()}

Functions

register(sub, ref \\ make_ref())

unsubscribe(ref)