Skip to main content

Module data

Module data 

Source
Expand description

Persistent global counter and database version state.

The counter records sequence numbers before handing them to writers and tracks their ordered retirement through permits. The same map stores the database schema version used by migrations.

Structsยง

Data
Owns persistent global state and the two-phase sequence counter.

Constantsยง

COUNTER ๐Ÿ”’

Type Aliasesยง

Callback ๐Ÿ”’
Counter ๐Ÿ”’
Permit ๐Ÿ”’
Permit guarding one dispatched global sequence number.