fix: update -> Serializer::later
This commit is contained in:
parent
a775c5bfd6
commit
a3a0d666dc
|
@ -34,7 +34,11 @@ export default (latus) => (Resource) => (
|
|||
else {
|
||||
await this._serializer.later(
|
||||
`${type}:${id}`,
|
||||
(resource) => resource.acceptPacket(packet),
|
||||
(resource) => {
|
||||
for (let i = 0; i < packet.data.packets.length; i++) {
|
||||
resource.acceptPacket(packet.data.packets[i]);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user