open fun setTaskExecutor(@Nullable taskExecutor: AsyncListenableTaskExecutor): Unit
Set an AsyncListenableTaskExecutor to use when opening connections. If this property is set to null, calls to any of the doHandshake methods will block until the connection is established.
By default an instance of SimpleAsyncTaskExecutor is used.