setProgressHandler

abstract fun setProgressHandler(operationCount: Int, handler: ProgressHandler?)(source)

Sets handler to be invoked every operationCount internal VM instructions during long-running calls, or clears it if operationCount is not positive.

Throws

if setting the handler fails.