class PlaceOS::Driver::Proxy::Drivers

Included Modules

Defined in:

placeos-driver/proxy/drivers.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(drivers : Array(PlaceOS::Driver::Proxy::Driver)) #

[View source]

Macro Detail

macro method_missing(call) #

Collect all the futures from the function calls and make them available to the user


[View source]

Instance Method Detail

def [](index : Int32) : PlaceOS::Driver::Proxy::Driver #

[View source]
def []=(status, value) #

This deliberately prevents compilation if called from driver code


[View source]
def []?(index : Int32) : PlaceOS::Driver::Proxy::Driver | Nil #

[View source]
def each(&) #
Description copied from module Enumerable(PlaceOS::Driver::Proxy::Driver)

Must yield this collection's elements to the block.


[View source]
def implements?(interface) : Bool #

[View source]
def size #
Description copied from module Enumerable(PlaceOS::Driver::Proxy::Driver)

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4

[View source]
def subscribe(status, &_callback : PlaceOS::Driver::Subscriptions::IndirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::IndirectSubscription #

This deliberately prevents compilation if called from driver code


[View source]