ExWaiter.Receiving.Receiver (ex_waiter v0.7.0) View Source

Link to this section Summary

Link to this section Types

Specs

filter_fn() :: (any() -> boolean())

Specs

on_complete() :: (t() -> any())

Specs

t() :: %ExWaiter.Receiving.Receiver{
  all_messages: [any()],
  filter_fn: filter_fn(),
  filtered_messages: [any()],
  message_num: pos_integer(),
  num_messages: pos_integer(),
  on_complete: on_complete(),
  rejected_messages: [any()],
  remaining_timeout: non_neg_integer() | nil,
  timeout: timeout()
}