Skip to content

NotifyMask

Service status changes to observe.

Passed to Service.wait_for_status_change, which also accepts a bare symbol or an iterable of symbols in its place.

Example

let mask = NotifyMask :RUNNING: :STOPPED:

Inherits from: Iterable[NotifyChange]

Implements: std.FlagSet[NotifyChange]

Fields

int @ Int

The complete native mask as an Int, including bits this type does not name.

Methods

from_int value -> NotifyMask

Builds a mask from a native integer, preserving every bit including ones this type does not name.

Parameters

NameTypeDescription
value Int Native notification mask.