mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
not yet working coroutines
This commit is contained in:
parent
2a072ecee0
commit
e5118c9c2e
8 changed files with 102 additions and 11 deletions
|
@ -1,9 +1,8 @@
|
|||
class CurlSession {
|
||||
constructor(options={}) {
|
||||
constructor(need_fiber=0) {
|
||||
check_loaded(true);
|
||||
|
||||
this.options = options;
|
||||
this.session_ptr = _session_create();
|
||||
this.session_ptr = _session_create(need_fiber);
|
||||
this.active_requests = 0;
|
||||
this.event_loop = null;
|
||||
this.requests_list = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue