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-10-02, commit: a003e05