Documentation
¶
Overview ¶
Package serial is the one operation queue of the SQLite database adapters: operations run in call order and a transaction holds the queue until it settles (Pi's SerialQueue and the promise chain of NodeSqliteDatabase).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTransactionInactive = errors.New("SQLite transaction handle is no longer active")
ErrTransactionInactive is returned by a transaction handle used after its callback returned.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue runs operations in call order. An operation starts immediately when nothing is running or waiting; otherwise it waits for everything before it.
Click to show internal directories.
Click to hide internal directories.