UNPKG

@leansdk/leanrc

Version:

LeanRC is a MVC framework for creating graceful applications

22 lines (16 loc) 412 B
module.exports = (Module) -> { NilT FuncG NotificationInterface RobotDataProxy SimpleCommand } = Module.NS class AnimateRobotCommand extends SimpleCommand @inheritProtected() @module Module @public execute: FuncG(NotificationInterface, NilT), default: -> proxy = @facade.retrieveProxy RobotDataProxy::ROBOT_PROXY proxy.animate() @initialize()