def __init__(self, wf_spec, name, event_definition=None, **kwargs):
super(IntermediateCatchEvent, self).__init__(wf_spec, name, **kwargs)<EOL>self.event_definition = event_definition<EOL>
Constructor.

:param event_definition: the EventDefinition that we must wait for.