ReactiveCocoa / ReactiveSwift

Streams of values over time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's means 'targeting' in QueueScheduler?

iWECon opened this issue · comments

commented

https://reactivecocoa.io/reactiveswift/docs/latest/Classes/QueueScheduler.html#/s:13ReactiveSwift14QueueSchedulerC3qos4name9targetingAC8Dispatch0H3QoSV_SSSo17OS_dispatch_queueCSgtcfc

targeting (Optional) The queue on which this scheduler’s work is targeted

Can anyone tell me what the specific function is?

It’s more a Grand Central Dispatch concept.

QueueScheduler is backed by a serial dispatch queue in Dispatch, which can be optionally made to target another dispatch queue, hence the targeting argument in the initialiser for configuring it.

commented

@andersio thanks, I got it~