Skip to content

Macro for selecting from multiple ports #1851

Closed
@jruderman

Description

@jruderman

Could macros build on #1847 to create nice syntax for selecting from differently-typed ports?

#select {
    int_port: n { consume_int(n); }
    str_port: s { consume_str(s); }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-concurrencyArea: ConcurrencyC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions