mirror of
https://github.com/esiur/esiur-js.git
synced 2025-07-01 17:03:11 +00:00
1.5.1
This commit is contained in:
@ -845,7 +845,8 @@ export default class DistributedConnection extends IStore {
|
||||
|
||||
IIPReportProgress(callbackId, type, value, max) {
|
||||
var req = this.requests.item(callbackId);
|
||||
req?.triggerProgress(type, value, max);
|
||||
if (req != null)
|
||||
req.triggerProgress(type, value, max);
|
||||
}
|
||||
|
||||
IIPReportChunk(callbackId, data) {
|
||||
@ -1655,7 +1656,7 @@ export default class DistributedConnection extends IStore {
|
||||
.done()
|
||||
.then(function (rt) {
|
||||
|
||||
let dr = resource ?? new DistributedResource(self, id, rt[1], rt[2]);
|
||||
let dr = resource || new DistributedResource(self, id, rt[1], rt[2]);
|
||||
|
||||
self.getTemplate(rt[0]).then(function (tmp) {
|
||||
|
||||
|
@ -48,6 +48,11 @@ export default class DistributedResource extends IResource
|
||||
this._p.attached = false;
|
||||
}
|
||||
|
||||
trigger(type)
|
||||
{
|
||||
return new AsyncReply(true);
|
||||
}
|
||||
|
||||
constructor(connection, instanceId, age, link)
|
||||
{
|
||||
super();
|
||||
|
Reference in New Issue
Block a user