To run R:

  1. Queue a microtask to perform the following steps:

    1. Fire an event named queued.