BSD Ports

time/ruby-timers 4.4.0 NetBSD

Pure Ruby one-shot and periodic timers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
time, ruby
Package size
27.6 KiB, 66.0 KiB installed

Description

Ruby timer collections. Schedule several procs to fire after configurable delays or at periodic intervals.

This gem is especially useful when you are faced with an API that accepts a single timeout but you want to run multiple timers on top of it. An example of such a library is [nio4r](https://github.com/celluloid/nio4r), a cross-platform Ruby library for using system calls like epoll and kqueue.

Install

Binary package:

pkgin install ruby33-timers

From pkgsrc:

cd /usr/pkgsrc/time/ruby-timers && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-timers-4.4.0, ruby40-timers-4.4.0