struct Zap::Utils::Timeout

Overview

Mimics setTimeout in JavaScript

Defined in:

utils/timers.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(time : Time::Span, &block : -> ) #

[View source]

Instance Method Detail

def abort #

[View source]