Class EventLoopInterop

java.lang.Object
org.apache.sling.scripting.sightly.js.impl.loop.EventLoopInterop

public class EventLoopInterop extends Object
Event-loop utilities for interoperability with JS code
  • Field Details

  • Constructor Details

    • EventLoopInterop

      public EventLoopInterop()
  • Method Details

    • obtainEventLoop

      public static EventLoop obtainEventLoop(org.mozilla.javascript.Context context)
    • cleanupEventLoop

      public static void cleanupEventLoop(org.mozilla.javascript.Context context)
    • schedule

      public static Task schedule(org.mozilla.javascript.Context context, Runnable runnable)