Core LibraryAPI Reference

Choose documentation 3

Concept and alpha: example support scope and release maturity.

v0.1.0.alpha.2

Current version

v0.1.0.alpha.2
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-ruby v0.1.0.alpha.2

Scope.map

Module LibTmux::Async::Scope#map LibTmux::Async

Behavior: Async map.

Source and package
Module
LibTmux::Async
Declared in
Scope
Package
libtmux-async
Source
gems/libtmux-async/lib/libtmux/async/scope.rb
def map: [Input, Output] ( ::Enumerable[Input], ?concurrency: ::Integer, ?max_items: ::Integer, ?max_bytes: ::Integer, ?result_bytes: ^(Output) -> ::Integer ) { (Input) -> Output } -> ::Array[Output]

Description#

Behavior contract: Async map.

Raises
  • ArgumentError

Discussed in Async

Esc

Type to search.

Reference preview Open reference