get

abstract suspend fun get(id: Long): Either<StoreError, BusinessObject>

Return

The BusinessObject with the given id if it exists and can be successfully retrieved

A RecordNotFoundError if the BusinessObject does not exist in this EventStore

A StoreError if the BusinessObject could not be retrieved for another reason