inMemoryDatabase

fun inMemoryDatabase(context: <Error class: unknown class>, userId: UserIDEntity, dispatcher: <Error class: unknown class>): UserDatabaseBuilder
fun inMemoryDatabase(userId: <Error class: unknown class>, dispatcher: <Error class: unknown class>): <Error class: unknown class>
fun inMemoryDatabase(userId: UserIDEntity, dispatcher: <Error class: unknown class>): UserDatabaseBuilder

Creates an in-memory user database, or returns an existing one if it already exists.

Return

The user database builder.

Parameters

userId

The ID of the user for whom the database is created.

dispatcher

The coroutine dispatcher to be used for executing database operations.