Ussd.ContinuingMode (Ussd v0.2.0)

Copy Markdown View Source

The three ways a session can behave across a dropped call / redial:

  • :start - every dial starts a brand-new session (the default).
  • :continue - a redial silently resumes wherever the previous session left off.
  • :confirm - a redial asks the caller (via a ContinueState) whether to resume.

Summary

Types

t()

@type t() :: :start | :continue | :confirm

Functions

valid?(mode)

@spec valid?(term()) :: boolean()