Open dou4cc opened 7 years ago
example:
(genfn2tick(function*(uri){
const [error, response] = yield prom2hell(fetch(uri));
if(error === null){
const [error, text] = yield prom2hell(response.text());
if(error === null) return text;
}
}))(URL.createObjectURL(new Blob(["Hello World"])))(text => console.log(text));
修复了若干bug。
修复了若干bug。