class Godot::ChannelSelect

Overview

CSP-style declarative multiplexing helper for Godot::Channel.select_any

Defined in:

libgodot/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def else(&block : -> ) #

def execute : Bool #

def receive(typed_channel : TypedChannel(T), &block : T -> ) forall T #

def receive(channel : Channel, &block : ChannelItem -> ) #