MCPcopy
hub / github.com/postcss/postcss / async

Method async

lib/lazy-result.js:188–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 async() {
189 if (this.error) return Promise.reject(this.error)
190 if (this.processed) return Promise.resolve(this.result)
191 if (!this.processing) {
192 this.processing = this.runAsync()
193 }
194 return this.processing
195 }
196
197 catch(onRejected) {
198 return this.async().catch(onRejected)

Callers 4

catchMethod · 0.95
finallyMethod · 0.95
thenMethod · 0.95
processor.test.tsFile · 0.45

Calls 1

runAsyncMethod · 0.95

Tested by

no test coverage detected