bare::ffi::objc::dispatch
API 참조는 영어로만 있습니다. 표준 라이브러리 소스의 영어 문서 주석에서 만듭니다.
Grand Central Dispatch: run a closure on
the main queue or a global one, through a Block.
Structs
QueueSource
pub struct QueueA dispatch queue (dispatch_queue_t).
The main thread's queue: its blocks run from the main run loop (
NSApplication::run,dispatch_main).The global concurrent queue of default quality of service.
The queue, for a C parameter of type
dispatch_queue_t.
Functions
dispatch_asyncSource
pub fn dispatch_async(queue: Queue, block: Block<fn()>) Run block on queue later (dispatch_async); the queue keeps the
block until it ran.