Skip to content

hojin-jeong/uv-poll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@map_side/uv-poll

It's UV_POLL_T for nodejs

It's an event emitter wrapper for libuv's UV_POLL_T struct.

const fd = fs.openSync('file')
const poll = new Poller(fd)
poll.on('readable', () => console.log(`fd ${fd} is now readable`))
poll.on('writable', () => console.log(`fd ${fd} is now writable`))
poll.on('disconnect', () => console.log(`fd ${fd} is now disconnect`)) // means not readable or writable

forked from reconbot/uv-poll

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published