use of io.deephaven.web.shared.fu.JsRunnable in project deephaven-core by deephaven.
the class JsTreeTable method enqueue.
private void enqueue(TreeTableRequest.TreeRequestOperation operation, JsRunnable r) {
if (queuedOperations != null) {
JsRunnable old = queuedOperations;
queuedOperations = () -> {
nextRequestOps[nextRequestOps.length] = operation;
old.run();
r.run();
};
} else {
queuedOperations = () -> {
nextRequestOps[nextRequestOps.length] = operation;
r.run();
};
}
}
Aggregations