AsyncStorage
Asynchronous storage contract for persisting and retrieving domain entities.
This interface extends the storage concept with coroutine-based suspend functions for non-blocking I/O operations. All methods are suspendable and should be called within a coroutine context.
This contract was based on roby2014 - uni-projects/TDS
Parameters
K
The type used to identify entities (e.g., String for names, Int for IDs).
T
The domain entity type being stored.
U
The storage format type used internally by the serializer (e.g., String, ByteArray).