class PlaceOS::Driver::Proxy::Drivers
Included Modules
- Enumerable(PlaceOS::Driver::Proxy::Driver)
Defined in:
placeos-driver/proxy/drivers.crConstructors
Macro Summary
-
method_missing(call)
Collect all the futures from the function calls and make them available to the user
Instance Method Summary
- #[](index : Int32) : PlaceOS::Driver::Proxy::Driver
-
#[]=(status, value)
This deliberately prevents compilation if called from driver code
- #[]?(index : Int32) : PlaceOS::Driver::Proxy::Driver | Nil
-
#each(&)
Must yield this collection's elements to the block.
- #implements?(interface) : Bool
-
#size
Returns the number of elements in the collection.
-
#subscribe(status, &_callback : PlaceOS::Driver::Subscriptions::IndirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::IndirectSubscription
This deliberately prevents compilation if called from driver code
Constructor Detail
Macro Detail
macro method_missing(call)
#
Collect all the futures from the function calls and make them available to the user
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(PlaceOS::Driver::Proxy::Driver)
Must yield this collection's elements to the block.
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
def subscribe(status, &_callback : PlaceOS::Driver::Subscriptions::IndirectSubscription, String -> Nil) : PlaceOS::Driver::Subscriptions::IndirectSubscription
#
This deliberately prevents compilation if called from driver code