Interface ITickScheduler
Assembly: AltV.Net.Async.dll
Syntax
public interface ITickScheduler
Methods
|
Improve this Doc
View Source
Schedule(Action)
Declaration
void Schedule(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
|
Improve this Doc
View Source
Schedule(Action<Object>, Object)
Declaration
void Schedule(Action<object> action, object state)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
action |
|
System.Object |
state |
|
|
Improve this Doc
View Source
ScheduleBlocking(Action, SemaphoreSlim)
Declaration
void ScheduleBlocking(Action action, SemaphoreSlim semaphoreSlim)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
System.Threading.SemaphoreSlim |
semaphoreSlim |
|
|
Improve this Doc
View Source
ScheduleBlockingThrows(Action, SemaphoreSlim)
Declaration
void ScheduleBlockingThrows(Action action, SemaphoreSlim semaphoreSlim)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
System.Threading.SemaphoreSlim |
semaphoreSlim |
|
|
Improve this Doc
View Source
ScheduleTask(Action)
Declaration
Task ScheduleTask(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ScheduleTask(Action<Object>, Object)
Declaration
Task ScheduleTask(Action<object> action, object state)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
action |
|
System.Object |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ScheduleTask<TResult>(Func<TResult>)
Declaration
Task<TResult> ScheduleTask<TResult>(Func<TResult> action)
Parameters
Type |
Name |
Description |
System.Func<TResult> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
|
Improve this Doc
View Source
ScheduleTask<TResult>(Func<Object, TResult>, Object)
Declaration
Task<TResult> ScheduleTask<TResult>(Func<object, TResult> action, object value)
Parameters
Type |
Name |
Description |
System.Func<System.Object, TResult> |
action |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
|
Improve this Doc
View Source
Tick()
Declaration