JsHostJob Class
A job that the engine gives to the host to schedule (HostEnqueueGenericJob, HostEnqueueTimeoutJob): the host calls JsHostJob.Run later, on the thread of the engine (e.g. from a task of its event loop).
public sealed class JsHostJobProperties
| Name | Description |
|---|---|
| Realm | Gets the realm of the job: the current realm while it runs. |
Realm
JsJob.csMethods
| Name | Description |
|---|---|
| Run() | Runs the job, in its realm. An exception goes to JsHost.ReportJobException. The promise jobs it enqueues are not run: the host runs them afterwards (JsEngine.RunJobs, e.g. a microtask checkpoint). |
Run()
JsJob.csRuns the job, in its realm. An exception goes to JsHost.ReportJobException. The promise jobs it enqueues are not run: the host runs them afterwards (JsEngine.RunJobs, e.g. a microtask checkpoint).
public void Run()