Initializer
init(configuration:threadPool:)
Create a new
SQLiteConnectionSource.init(configuration: SQLiteConfiguration, threadPool: NIOThreadPool = .singleton)
Parameters
configurationThe configuration for new connections.
threadPoolThe thread pool used by connections. Defaults to the global singleton.
Discussion
Important
If the caller provides a thread pool other than the default, they are responsible for starting the pool before any connections are made and shutting it down only after all connections are closed. It is strongly recommended that all callers use the default.