Bsdkrun.Client.Subscription (bsdkrun_ex v0.2.0)

Copy Markdown View Source

A handle to a live GraphQL subscription — returned by Bsdkrun.Client.subscribe/4 and Bsdkrun.Client.follow_logs/3.

Summary

Functions

Cancel the subscription. Idempotent.

Types

t()

@type t() :: %Bsdkrun.Client.Subscription{id: String.t(), ws_pid: pid()}

Functions

cancel(subscription)

@spec cancel(t()) :: :ok

Cancel the subscription. Idempotent.