MCPcopy Create free account
hub / github.com/codecombat/codecombat / wait

Method wait

app/collections/CocoCollection.js:79–79  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

77 stringify () { return JSON.stringify(this.toJSON()) }
78
79 wait (event) { return new Promise(resolve => this.once(event, resolve)) }
80 }
81 CocoCollection.initClass()
82 return CocoCollection

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected