module libwasm.bindings.IdleDeadline;

import libwasm.types;

import memutils.ct: tuple;
import libwasm.bindings.Performance;

@safe:
nothrow:

struct IdleDeadline {
  nothrow:
  JsHandle handle;
  alias handle this;
  this(Handle h) {
    this.handle = JsHandle(h);
  }
  double timeRemaining()() {
    return Object_Getter__double(this.handle, "timeRemaining");
  }
  bool didTimeout()() {
    return Object_Getter__bool(this.handle, "didTimeout");
  }
}