Fix initial events handling for mux worker
* Rename `before_wait' worker callback to `before_watch'; * Setup `before_watch' callback in the runner, handling events with the manager; * Test the mux worker with a cucumber scenario.
This commit is contained in:
@@ -2,7 +2,7 @@ module Uh
|
||||
module WM
|
||||
module Workers
|
||||
class Base
|
||||
CALLBACKS = %w[before_wait on_timeout on_read on_read_next].freeze
|
||||
CALLBACKS = %w[before_watch on_timeout on_read on_read_next].freeze
|
||||
|
||||
def initialize **options
|
||||
@ios = []
|
||||
|
Reference in New Issue
Block a user