this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add sleep/1

garrison 067c6faf c4b1ec68

+9
+9
lib/trinity/sim_process.ex
··· 42 42 end 43 43 end 44 44 45 + @spec sleep(term) :: :ok 46 + def sleep(timeout) do 47 + case get_sim() do 48 + nil -> Process.sleep(timeout) 49 + _sim -> Trinity.Scheduler.yield(timeout) 50 + end 51 + :ok 52 + end 53 + 45 54 @spec flag(atom, term) :: term 46 55 def flag(flag, value) do 47 56 case get_sim() do