BaileysEx.Auth.KeyStore.TxRef (baileys_ex v0.1.0-alpha.7)

Copy Markdown View Source

Internal transaction-scoped KeyStore handle.

Callers receive this only inside transaction/3 callbacks. It carries the explicit transaction-local cache and mutation buffer used by the built-in persistence-backed Signal store implementation.

This module exists to make the transaction contract and generated documentation accurate for advanced custom store implementers. Application code should not construct or persist these structs directly.

Summary

Types

t()

Internal transaction-scoped auth key store reference.

Types

t()

@type t() :: %BaileysEx.Auth.KeyStore.TxRef{
  pid: pid(),
  table: :ets.tid(),
  tx_table: :ets.tid()
}

Internal transaction-scoped auth key store reference.