Method: ZMQ::Timer#fire
- Defined in:
- ext/rbczmq/timer.c
#fire ⇒ Object Also known as: call
72 73 74 75 76 77 |
# File 'ext/rbczmq/timer.c', line 72
static VALUE rb_czmq_timer_fire(VALUE obj, VALUE args)
{
ZmqGetTimer(obj);
if (timer->cancelled == true) rb_raise(rb_eZmqError, "cannot fire timer, already cancelled!");
return rb_apply(timer->callback, intern_call, args);
}
|