Sets active
to false
, runs the disable
function
passed as a constructor argument, if any, and unsubscribes
from all subscriptions returned by enable
, if any.
Sets active
to true
and runs the enable
function
passed as a constructor argument.
Generated using TypeDoc
The most basic Machine abstract class. The
active
andactive$
properties, as well as theenable
anddisable
methods, are set asprotected
instead ofpublic
. For cases when these are only to be used internally.