ElixirBot.Context (elixir_bot v0.1.8) View Source

Server

Link to this section Summary

Link to this section Types

Specs

error_result() :: {:error, reason()} | {:error, reason(), t()}

Specs

reason() :: term()

Specs

result() :: {:ok, t()} | error_result()

Specs

stage() :: :wait | :parse | :before | :process

Specs

t() :: %ElixirBot.Context{
  github: Action.Github.t(),
  id: number() | nil,
  markdown: ElixirBot.Markdown.t() | nil,
  number: number() | nil,
  result: term(),
  stage: stage(),
  state: atom() | nil
}

Link to this section Functions

Specs

cleanup(reason(), t()) :: :ok

Specs

init(binary() | nil) :: result()

Specs

next(t()) :: result() | {:stop, t()}