TransferToEDTQueue<Runnable> (@NotNull @NonNls String name, int maxUnitOfWorkThresholdMs) { return new TransferToEDTQueue<>(name, runnable -> { runnable.run(); return true; }, Conditions.alwaysFalse(), maxUnitOfWorkThresholdMs); }