|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Rate limiters.\n\n A rate limiter allows generating sets of promises that will be resolved in\n the future, at a maximum rate of N promises per second.\n\n The rate limiters in this module support multiple {e channels}, each given a\n different key by the user. The rate limit applies to each channel\n independently. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 473, |
|
"pos_cnum": 494 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 473, |
|
"pos_cnum": 494 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 473, |
|
"pos_cnum": 494 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 473, |
|
"pos_cnum": 494 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 473, |
|
"pos_cnum": 494 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_modtype", |
|
{ |
|
"pmtd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 496, |
|
"pos_cnum": 508 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 496, |
|
"pos_cnum": 509 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "S" |
|
}, |
|
"pmtd_type": { |
|
"pmty_desc": [ |
|
"Pmty_signature", |
|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 523 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 526 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "key" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 518 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 526 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 518 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 516, |
|
"pos_cnum": 526 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 534 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 535 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "t" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 529 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 535 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 529 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 527, |
|
"pos_cnum": 535 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 543 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 549 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "create" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "rate" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 557 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 560 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "max" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 568 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 571 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "n" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 577 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 580 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 584 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 575 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 552 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Creates a rate limiter.\n\n @param rate Maximum number of promise resolutions per second, per channel.\n @param max Maximum number of pending promises allowed at once, over all\n channels.\n @param n Initial size of the internal channel hash table. This should be\n approximately the number of different channels that will be used. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 586, |
|
"pos_cnum": 588 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 873, |
|
"pos_cnum": 949 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 586, |
|
"pos_cnum": 588 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 873, |
|
"pos_cnum": 949 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 586, |
|
"pos_cnum": 588 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 873, |
|
"pos_cnum": 949 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 586, |
|
"pos_cnum": 588 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 873, |
|
"pos_cnum": 949 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 539 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 539 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 537, |
|
"pos_cnum": 585 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 957 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 961 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "wait" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 964 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 965 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "key", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 969 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 972 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"Lwtt", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "bool", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 976 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 980 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 976 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 986 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 969 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 986 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 964 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 986 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [Lwt_throttle.wait limiter channel] returns a new promise associated with\n the given rate limiter and channel.\n\n If the maximum number of pending promises for [limiter] has {e not} been\n reached, the promise starts pending. It will be resolved with [true] at\n some future time, such that the rate limit of [limiter] is not exceeded,\n with respect to other promises in the same [channel].\n\n If the maximum number of pending promises has been reached, the returned\n promise is already resolved with [false]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 987, |
|
"pos_cnum": 989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1486, |
|
"pos_cnum": 1536 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 987, |
|
"pos_cnum": 989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1486, |
|
"pos_cnum": 1536 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 987, |
|
"pos_cnum": 989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1486, |
|
"pos_cnum": 1536 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 987, |
|
"pos_cnum": 989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1486, |
|
"pos_cnum": 1536 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 953 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 986 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 953 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 951, |
|
"pos_cnum": 986 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 496, |
|
"pos_cnum": 512 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1537, |
|
"pos_cnum": 1540 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
}, |
|
"pmtd_attributes": [], |
|
"pmtd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 496, |
|
"pos_cnum": 496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1537, |
|
"pos_cnum": 1540 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 496, |
|
"pos_cnum": 496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1537, |
|
"pos_cnum": 1540 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_module", |
|
{ |
|
"pmd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1549 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1553 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Make" |
|
}, |
|
"pmd_type": { |
|
"pmty_desc": [ |
|
"Pmty_functor", |
|
[ |
|
"Named", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1555 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1556 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "H" |
|
}, |
|
{ |
|
"pmty_desc": [ "Pmty_ident", "HashtblHashedType" ], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1559 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1577 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
} |
|
], |
|
{ |
|
"pmty_desc": [ |
|
"Pmty_with", |
|
{ |
|
"pmty_desc": [ "Pmty_ident", "S" ], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1582 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
}, |
|
[ |
|
[ |
|
"Pwith_type", |
|
"key", |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1596 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "key" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": { |
|
"ptyp_desc": [ "Ptyp_constr", "Ht", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1599 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1588 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
] |
|
], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
} |
|
], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1554 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
}, |
|
"pmd_attributes": [], |
|
"pmd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_throttle.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1542, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|