Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide sync API #738

Merged
merged 1 commit into from Mar 18, 2024
Merged

feat: provide sync API #738

merged 1 commit into from Mar 18, 2024

Conversation

antongolub
Copy link
Contributor

closes #681

const o1 = $.sync`echo foo`
const o2 = $({ sync: true })`echo foo`

o1.stdout //  'foo\n'
o2.stdout //  'foo\n'
  • Tests pass

@antonmedv antonmedv merged commit 1f8c8b8 into google:main Mar 18, 2024
10 checks passed
@antongolub antongolub deleted the add-sync-api branch March 18, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: sync method
2 participants