Interface EventLoop

All Known Implementing Classes:
Engine

public interface EventLoop
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final me.topchetoeu.j2s.common.Key<EventLoop>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static EventLoop
    get(me.topchetoeu.j2s.common.Environment ext)
     
    default Future<Value>
    pushMsg(boolean micro, me.topchetoeu.j2s.common.Environment env, me.topchetoeu.j2s.common.Filename filename, String raw, Value thisArg, Value... args)
     
    default Future<Value>
    pushMsg(boolean micro, me.topchetoeu.j2s.common.Environment env, FunctionValue func, Value thisArg, Value... args)
     
    default Future<Void>
    pushMsg(Runnable runnable, boolean micro)
     
    <T> Future<T>
    pushMsg(Supplier<T> runnable, boolean micro)
     
  • Field Details

    • KEY

      static final me.topchetoeu.j2s.common.Key<EventLoop> KEY
  • Method Details

    • get

      static EventLoop get(me.topchetoeu.j2s.common.Environment ext)
    • pushMsg

      <T> Future<T> pushMsg(Supplier<T> runnable, boolean micro)
    • pushMsg

      default Future<Void> pushMsg(Runnable runnable, boolean micro)
    • pushMsg

      default Future<Value> pushMsg(boolean micro, me.topchetoeu.j2s.common.Environment env, FunctionValue func, Value thisArg, Value... args)
    • pushMsg

      default Future<Value> pushMsg(boolean micro, me.topchetoeu.j2s.common.Environment env, me.topchetoeu.j2s.common.Filename filename, String raw, Value thisArg, Value... args)