remove from expiring set

This block is part of the realtime group and was last modified in core v15.0.2.

remove from expiring set v15.0.2

Takes a member out of an expiring set now, or with hold_only drops only the running socket's hold: a device taken out of service, a worker leaving its pool.

In pins 3 + flow
  • flow
  • set value required
  • member value

    Defaults to the user of the run's socket.

  • hold only condition

    Release only this socket's hold; the linger decides.

Out pins 3 + flow
  • flow
  • success condition
  • left condition
  • error value

By default the member leaves at once, whatever holds it (sockets, a TTL), and trigger_liveset_change runs with reason "removed". hold_only releases only the run's socket's hold and leaves the rest to decide: other sockets keep it, a TTL keeps it, and otherwise it leaves after its linger with reason "released". left is true when it stopped being a member in this call (false while it lingers, or when it was not a member). member defaults to the run's socket's user. success=false with error NO_SOCKET (hold_only with no socket), NO_MEMBER or LIVESET_NOT_ENABLED.

Version history

Introduced in v15.0.2.

  • v15.0.2: block added in this release.

Back to realtime Return to the main group to view all sub-groups Back to expiring sets Return to the group to view all blocks within this group