Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Apr 4, 2019
1 parent 4190fe3 commit d3ac761
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,12 @@ public static void runPendingFutures(final EthProtocolManager ethProtocolManager
((DeterministicEthScheduler) scheduler).runPendingFutures();
}

// Asserts there are no pending tasks submitted to the EthScheduler
// Works with {@code disableEthSchedulerAutoRun} - tasks will only be pending if
// autoRun has been disabled.
/**
* Gets the number of pending tasks submitted to the EthScheduler.
*
* <p>Works with {@code disableEthSchedulerAutoRun} - tasks will only be pending if autoRun has
* been disabled.
*/
public static int getPendingFuturesCount(final EthProtocolManager ethProtocolManager) {
final EthScheduler scheduler = ethProtocolManager.ethContext().getScheduler();
checkArgument(
Expand Down

0 comments on commit d3ac761

Please sign in to comment.