Support remote Promise in browser
This commit is contained in:
parent
c7d1f4f6b2
commit
92af275f98
2 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ unwrapArgs = (sender, args) ->
|
|||
when 'remote-object' then objectsRegistry.get meta.id
|
||||
when 'array' then unwrapArgs sender, meta.value
|
||||
when 'buffer' then new Buffer(meta.value)
|
||||
when 'promise' then Promise.resolve(then: metaToValue(meta.then))
|
||||
when 'object'
|
||||
ret = v8Util.createObjectWithName meta.name
|
||||
for member in meta.members
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue