completion

@escaping

([

String

Any

])

>

Void

// Mimic 1 sec delay.

DispatchQueue

label

"data_processing_queue"

qos

userInitiated

asyncAfter

deadline

now

()

let

result

String

Any

"foo"

123

completion

result