Inheritance
System.Object
Ticker
Constructors
Declaration
public Ticker(TickerCallback onTick, Func<string> debugLabel = null)
Parameters
Type |
Name |
Description |
TickerCallback |
onTick |
|
System.Func<System.String> |
debugLabel |
|
Properties
Declaration
public bool isActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isTicking { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool muted { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool scheduled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool shouldScheduleTick { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Declaration
public void absorbTicker(Ticker originalTicker)
Parameters
Type |
Name |
Description |
Ticker |
originalTicker |
|
Declaration
public virtual void dispose()
Declaration
protected void scheduleTick(bool rescheduling = false)
Parameters
Type |
Name |
Description |
System.Boolean |
rescheduling |
|
Declaration
public TickerFuture start()
Returns
Declaration
public void stop(bool canceled = false)
Parameters
Type |
Name |
Description |
System.Boolean |
canceled |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public string toString(bool debugIncludeStack = false)
Parameters
Type |
Name |
Description |
System.Boolean |
debugIncludeStack |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected void unscheduleTick()