Class: ddpEventListener

ddpEventListener

DDP event listener class.

new ddpEventListener (eventname, f, ddplink)

Name Type Description
eventname String

Event name.

f function

Function to run when event is fired.

ddplink simpleDDP

simpleDDP instance.

Classes

ddpEventListener

Methods

start ()

Usually you won't need this unless you stopped the @see ddpEventListener.

See:
  • ddpEventListener starts on creation.

stop ()

Stops listening for server event messages. You can start any stopped @see ddpEventListener at any time using ddpEventListener.start().