store

abstract suspend fun store(recipient: DeviceAddress, id: LogicalMessageId, frame: ByteArray): Long

Stores frame for recipient and returns its sequence number. Sequence numbers increase with every call and are never reused, also after removals and restarts. Throws IllegalArgumentException if id is already pending for recipient.