onNewMessage

fun onNewMessage(message: DomainMessage): Result<DomainMessage>?

Subclasses should call this method once new DomainMessage arrives in pl.novelpay.client.sdk.interceptor.ClientInterceptor

It finds the corresponding waiting coroutine and resumes it with the message.

Parameters

message

The newly received DomainMessage.