Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

ControlNotificationStream

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/NotificationBroadcast.swift
struct ControlNotificationStream : struct ControlNotificationStream
struct [source]
struct [source]
struct ControlNotificationStream

One observer's control notifications with finite pending storage.

2 declared, 16 inherited

Members

  • Iterator struct Iterates notifications with TmuxError as the failure type.
  • makeAsyncIterator() method Creates the asynchronous iterator that produces elements of this asynchronous sequence.

Inherited members

Reached through AsyncSequence.drop(while:), AsyncSequence.allSatisfy(_:), AsyncSequence.compactMap(_:), AsyncSequence.contains(_:), AsyncSequence.contains(where:), AsyncSequence.dropFirst(_:), AsyncSequence.filter(_:), AsyncSequence.first(where:), AsyncSequence.flatMap(_:), AsyncSequence.map(_:), AsyncSequence.max(by:), AsyncSequence.min(by:), AsyncSequence.prefix(_:), AsyncSequence.prefix(while:), AsyncSequence.reduce(_:_:), AsyncSequence.reduce(into:_:).

  • drop(while:) AsyncSequence.drop(while:) Omits elements from the base asynchronous sequence until a given closure returns false, after which it passes through all remaining elements.
  • allSatisfy(_:) AsyncSequence.allSatisfy(_:) Returns a Boolean value that indicates whether all elements produced by the asynchronous sequence satisfy the given predicate.
  • compactMap(_:) AsyncSequence.compactMap(_:) Creates an asynchronous sequence that maps an error-throwing closure over the base sequence’s elements, omitting results that don't return a value.
  • contains(_:) AsyncSequence.contains(_:) Returns a Boolean value that indicates whether the asynchronous sequence contains the given element.
  • contains(where:) AsyncSequence.contains(where:) Returns a Boolean value that indicates whether the asynchronous sequence contains an element that satisfies the given predicate.
  • dropFirst(_:) AsyncSequence.dropFirst(_:) Omits a specified number of elements from the base asynchronous sequence, then passes through all remaining elements.
  • filter(_:) AsyncSequence.filter(_:) Creates an asynchronous sequence that contains, in order, the elements of the base sequence that satisfy the given predicate.
  • first(where:) AsyncSequence.first(where:) Returns the first element of the sequence that satisfies the given predicate.
  • flatMap(_:) AsyncSequence.flatMap(_:) Creates an asynchronous sequence that concatenates the results of calling the given error-throwing transformation with each element of this sequence.
  • map(_:) AsyncSequence.map(_:) Creates an asynchronous sequence that maps the given error-throwing closure over the asynchronous sequence’s elements.
  • max(by:) AsyncSequence.max(by:) Returns the maximum element in the asynchronous sequence, using the given predicate as the comparison between elements.
  • min(by:) AsyncSequence.min(by:) Returns the minimum element in the asynchronous sequence, using the given predicate as the comparison between elements.
  • prefix(_:) AsyncSequence.prefix(_:) Returns an asynchronous sequence, up to the specified maximum length, containing the initial elements of the base asynchronous sequence.
  • prefix(while:) AsyncSequence.prefix(while:) Returns an asynchronous sequence, containing the initial, consecutive elements of the base sequence that satisfy the given predicate.
  • reduce(_:_:) AsyncSequence.reduce(_:_:) Returns the result of combining the elements of the asynchronous sequence using the given closure.
  • reduce(into:_:) AsyncSequence.reduce(into:_:) Returns the result of combining the elements of the asynchronous sequence using the given closure, given a mutable initial value.
Esc

Type to search.