Commit 10fd16a6 authored by Ontje Lünsdorf's avatar Ontje Lünsdorf
Browse files

Add active_process to BaseEnvironment definition.

parent e041125f
......@@ -543,6 +543,11 @@ class BaseEnvironment(object):
"""Property that returns the current time in the environment."""
raise NotImplementedError(self)
@property
def active_process(self):
"""Property that returns the currently active process."""
raise NotImplementedError(self)
def schedule(self, event, priority=DEFAULT_PRIORITY, delay=0):
"""Schedule an *event* with a given *priority* and a *delay*."""
raise NotImplementedError(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment