DispatchQueue.DispatchAfter Method

Definition

Overloads

DispatchAfter(DispatchTime, Action)

Executes this time on or after the specified time.

DispatchAfter(DispatchTime, DispatchBlock)

DispatchAfter(DispatchTime, Action)

Executes this time on or after the specified time.

public void DispatchAfter (CoreFoundation.DispatchTime when, Action action);
member this.DispatchAfter : CoreFoundation.DispatchTime * Action -> unit

Parameters

when
DispatchTime

Time at which the code block will be executed.

action
Action

Code block to execute at some time in the future.

Applies to

DispatchAfter(DispatchTime, DispatchBlock)

public void DispatchAfter (CoreFoundation.DispatchTime when, CoreFoundation.DispatchBlock block);
member this.DispatchAfter : CoreFoundation.DispatchTime * CoreFoundation.DispatchBlock -> unit

Parameters

Applies to