$widget->fileevent($fh, 'readable' => sub { ...call-back code... });