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

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Duplicate
  • Type-Enhancement
  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

    Changes
    • tags Status-Duplicate

New comment

Not published. Used for spam prevention and optional update notifications.