kalium
common
logic
/
com.wire.kalium.logic.sync.receiver.conversation.message
/
ProteusMessageUnpacker
/
unpackProteusMessage
unpack
Proteus
Message
abstract
suspend
fun
<
T
:
Any
>
unpackProteusMessage
(
event
:
Event.Conversation.NewMessage
,
handleMessage
:
suspend
(
applicationMessage
:
MessageUnpackResult.ApplicationMessage
)
->
T
)
:
Either
<
CoreFailure
,
T
>