class MiniFuture(T)

Overview

Lightweight Future structure.

Defined in:

await_async/mini_future.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(immediate = true, &block : -> T) #

[View source]

Instance Method Detail

def await(timeout : Time::Span | Nil = nil) #

[View source]
def error? #

[View source]
def finished? #

[View source]
def running? #

[View source]