MCPcopy
hub / github.com/postcss/postcss / async1

Function async1

test/processor.test.ts:239–249  ·  view source on GitHub ↗
(css: Root)

Source from the content-addressed store, hash-verified

237 let starts = 0
238 let finish = 0
239 let async1 = (css: Root): Promise<void> =>
240 new Promise<void>(resolve => {
241 starts += 1
242 setTimeout(() => {
243 equal(starts, 1)
244
245 css.append('a {}')
246 finish += 1
247 resolve()
248 }, 1)
249 })
250 let async2 = (css: Root): Promise<void> =>
251 new Promise<void>(resolve => {
252 equal(starts, 1)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…