You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
NullTask Element Documentation
NAME
NullTask — Click element;
associated with a do-nothing Task
SYNOPSIS
NullTask([ LIMIT, STOP, ACTIVE])
Ports: none
DESCRIPTION
NullTask simply schedule a task which, when scheduled, does nothing.
This can be useful for benchmarking.
LIMIT —
Unsigned. NullTask will schedule itself at most LIMIT times. 0 means
forever. Default is 0.
STOP —
Boolean. If true, NullTask will stop the driver when LIMIT is
reached. Default is false.
ACTIVE —
Boolean. If false, NullTask will not schedule itself at initialization time.
Use the scheduled write handler to schedule the task later. Default is
true.
ELEMENT HANDLERS
count (read-only) —
Returns the number of times the element has been scheduled.