WebAPI/ProposedDeviceStorageAPIWithNotifications: Difference between revisions

Jump to navigation Jump to search
Line 56: Line 56:
   
   
   // this function is called whenever the file(s) addressed by the request are created, modified, or deleted
   // this function is called whenever the file(s) addressed by the request are created, modified, or deleted
   void onChange(DOMString name, UpdateType type);
  // takes the file's name and type as its two arguments
   void (*onChange)(DOMString, UpdateType);
   // this function stops the watcher permanently
   // this function stops the watcher permanently
   void cancel();
   void cancel();
22

edits

Navigation menu