waitDocumentMessage

suspend fun BehaviourContext.waitDocumentMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<DocumentContent>>