Esempio n. 1
0
 /// <summary>
 /// Post a task for delayed execution on the thread associated with this task
 /// runner. Execution will occur asynchronously. Delayed tasks are not
 /// supported on V8 WebWorker threads and will be executed without the
 /// specified delay.
 /// </summary>
 public unsafe virtual int PostDelayedTask(CefTask task, long delayMs)
 {
     return(SafeCall(NativeInstance->PostDelayedTask((task != null) ? task.GetNativeInstance() : null, delayMs)));
 }
Esempio n. 2
0
 /// <summary>
 /// Post a task for execution on the thread associated with this task runner.
 /// Execution will occur asynchronously.
 /// </summary>
 public unsafe virtual int PostTask(CefTask task)
 {
     return(SafeCall(NativeInstance->PostTask((task != null) ? task.GetNativeInstance() : null)));
 }