#857 net.server: API for watching an arbitrary file descriptor

Reporter Zash
Owner Nobody
Stars ★ (1)  
  • Type-Enhancement
  • Priority-Medium
  • Status-Duplicate
  1. Zash on

    In cases where we want to keep track of events from other things that communicate via 'readyness' of an FD, not having to wrap this in a socket-like API would be helpful. Proposed API server.watchfd(fd : number, onreadable : callback, onwritable : callback) -> handle object The presence of either callback would be used to determine what events to watch for.

  2. Zash on

    Oh, I had apparently already written this down in #730

    • tags Status-Duplicate

New comment