Change-Id: I170abe0dd1a1de3d2cc2ea7f86c746eb93e63eae
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
if (f) {
delete this.onopen;
delete this.onabort;
if (f) {
delete this.onopen;
delete this.onabort;
}
this.onerror && this.onerror(this);
}
}
this.onerror && this.onerror(this);
}
switch (code) {
case RETOK:
reply(this.pendings, id, ans, 0);
switch (code) {
case RETOK:
reply(this.pendings, id, ans, 0);
case RETERR:
reply(this.pendings, id, ans, 1);
case RETERR:
reply(this.pendings, id, ans, 1);
case EVENT:
default:
fire(this.awaitens, id, ans);
case EVENT:
default:
fire(this.awaitens, id, ans);