Nybble Processing Mainframe
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@gopalroy/hook

1.0.0 • Public • Published

设备通知消息

var target = new Hook();
 
var On1602 = function(code, cmd){
    // TODO: ...
};
 
target.registerDevCmd('Test001', 0x1601, On1602);
target.Notify('Test001', 0x1602);
target.unregisterDevCmd('Test001', 0x1601, On1602);

Install

npm i @gopalroy/hook

DownloadsWeekly Downloads

6

Version

1.0.0

License

INCAR

Last publish

Collaborators

  • avatar