pause


Description:

[ Version ( since = "0.8" ) ]
public bool pause (string miner, string reason, out uint32 cookie)

Asks miner to pause.

a miner could be paused by several reasons, and its activity won't be resumed until all pause requests have been resumed.

Parameters:

this

a MinerManager.

miner

miner reference

reason

reason to pause

cookie

return location for the pause cookie ID

Returns:

true if the miner was paused successfully, otherwise false.




2022 vala-language.org