node_tags

Types

pub opaque type Message
pub opaque type TagManager
pub type Value {
  String(String)
  Int(Int)
  Float(Float)
  Bool(Bool)
  Null(Nil)
}

Constructors

  • String(String)
  • Int(Int)
  • Float(Float)
  • Bool(Bool)
  • Null(Nil)

Functions

pub fn delete(manager: TagManager, key: String) -> Nil
pub fn get_nodes(
  manager: TagManager,
  until timeout: Int,
) -> List(#(Node, Dict(String, Value)))
pub fn get_nodes_tagged(
  manager: TagManager,
  where tag: #(String, Value),
  until timeout: Int,
) -> List(#(Node, Dict(String, Value)))
pub fn get_own_tags(
  manager: TagManager,
  until timeout: Int,
) -> List(#(String, Value))
pub fn set(manager: TagManager, key: String, value: Value) -> Nil
pub fn shutdown(manager: TagManager) -> Nil
pub fn start(name: Atom) -> TagManager

Start a tag management process. This can fail if there is already another process with the same name.

Search Document