jazzdotdev / jazzdotdev/jazz

expose client_request future in lua

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
component/environment focus/mechanics landmark/3 model/change progress/0.0 size/0.5 track/ready value/0.75
Dominant language
Rust
Stars
147
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently we are waiting by default for the response
~~~lua
local response = client_request.send("google.com")
~~~

exposing futures would look like this
~~~lua
local future = client_request.send("google.com")
-- we can do anything we want after sending the request
-- even send it and forget it
-- and then we can get the response
local response = future.wait()
~~~

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.