Class: Winloop::Scheduler::IoWaiter

Inherits:
Struct
  • Object
show all
Defined in:
lib/winloop/scheduler.rb

Overview

One fiber waiting on a socket for ‘events` (an io_wait waiter).

Instance Attribute Summary collapse

Instance Attribute Details

#eventsObject

Returns the value of attribute events

Returns:

  • (Object)

    the current value of events



33
34
35
# File 'lib/winloop/scheduler.rb', line 33

def events
  @events
end

#fiberObject

Returns the value of attribute fiber

Returns:

  • (Object)

    the current value of fiber



33
34
35
# File 'lib/winloop/scheduler.rb', line 33

def fiber
  @fiber
end

#settledObject

Returns the value of attribute settled

Returns:

  • (Object)

    the current value of settled



33
34
35
# File 'lib/winloop/scheduler.rb', line 33

def settled
  @settled
end