Lines Matching refs:microtask
59 #include "src/objects/microtask-inl.h"
1432 auto microtask = NewStructInternal<CallableTask>(CALLABLE_TASK_TYPE,
1435 microtask.set_callable(*callable, SKIP_WRITE_BARRIER);
1436 microtask.set_context(*context, SKIP_WRITE_BARRIER);
1437 return handle(microtask, isolate());
1442 auto microtask = NewStructInternal<CallbackTask>(CALLBACK_TASK_TYPE,
1445 microtask.set_callback(*callback, SKIP_WRITE_BARRIER);
1446 microtask.set_data(*data, SKIP_WRITE_BARRIER);
1447 return handle(microtask, isolate());
1454 auto microtask = NewStructInternal<PromiseResolveThenableJobTask>(
1457 microtask.set_promise_to_resolve(*promise_to_resolve, SKIP_WRITE_BARRIER);
1458 microtask.set_thenable(*thenable, SKIP_WRITE_BARRIER);
1459 microtask.set_then(*then, SKIP_WRITE_BARRIER);
1460 microtask.set_context(*context, SKIP_WRITE_BARRIER);
1461 return handle(microtask, isolate());