Method AddIdleTask
AddIdleTask(Action<object?>, object?)
Adds task
which will be executed one time
when the application finished processing events and is
about to enter the idle state.
public static void AddIdleTask(Action<object?> task, object? param = null)
Parameters
Remarks
This is thread-safe method and it can be called from non-UI threads.
AddIdleTask(Action?)
Adds task
which will be executed one time
when the application finished processing events and is
about to enter the idle state.
public static void AddIdleTask(Action? task)
Parameters
task
ActionTask action.