UI\Executor::__construct

(UI 2.0.0)

UI\Executor::__constructConstruct a new Executor

说明

public UI\Executor::__construct()
public UI\Executor::__construct(int $microseconds)
public UI\Executor::__construct(int $seconds, int $microseconds)

Shall construct an executor with the given interval, will not start executing until main loop is entered

参数

seconds

Seconds between executions

microseconds

Microseconds between executions