View Source WalEx.Event behaviour (WalEx v2.3.0)

Summary

Callbacks

Behaviour for processing event

Functions

When single event per table is expected

When multiple events per table is expected (transaction)

Callbacks

@callback process(
  payload :: %WalEx.Changes.Transaction{
    changes: term(),
    commit_timestamp: term()
  }
) ::
  :ok | {:error, any()}

Behaviour for processing event

Functions

Link to this function

event(table_name, txn, app_name)

View Source

When single event per table is expected

Link to this function

events(table_name, txn, app_name)

View Source

When multiple events per table is expected (transaction)