enum Protocol::Emulation::VirtualTimePolicy

Overview

advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches.

Defined in:

protocol/emulation.cr

Enum Members

Advance = 0
Pause = 1
PauseIfNetworkFetchesPending = 2

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def advance? #

[View source]
def pause? #

[View source]
def pause_if_network_fetches_pending? #

[View source]