Creates an event to wait on an existing file descriptor.
The file descriptor usually needs to be a non-blocking socket for this to work.
|The Posix file descriptor to watch
|Specifies which events will be listened for
Returns a newly created FileDescriptorEvent associated with the given file descriptor.