Initialization

A database service is started simply by calling: init().

This function initializes the database, spawns threads, and returns a:

  • Read handle to the database
  • Write handle to the database
  • The database itself

These handles implement the tower::Service trait, which allows sending requests and receiving responses asynchronously.

Last change: 2024-11-18, commit: e8598a0