dgkf / dgkf/R

Proposal: Async keyword

Open
#81 2 comments 0 reactions 0 assignees View on GitHub
meta-proposal status-feedback-needed theme-internals type-design
Dominant language
Rust
Stars
145
Forks
5
PR merge metrics
No merged PRs in 30d

Description

This is super neat! Perhaps a niche idea but, I saw in #15 that you were looking at generators/iterators, and the other proposal about a defer keyword, and it made think of how much nicer it would be in R if `async` was a keyword. I guess this also presupposes that async will be a thing?

```r
x <- await(foo())
```

```r
x <- await foo()

# or

x <- await {
foo()
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.