/// <summary> /// Post a task for execution on the thread associated with this task runner. /// Execution will occur asynchronously. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_task_capi.h">cef/include/capi/cef_task_capi.h</see>. /// </remarks> public bool PostTask(CfxTask task) { var __retval = CfxApi.TaskRunner.cfx_task_runner_post_task(NativePtr, CfxTask.Unwrap(task)); GC.KeepAlive(task); return(0 != __retval); }