func withTaskGroup <ChildTaskResult, GroupResult>( of: ChildTaskResult.Type, returning: GroupResult.Type, body: (inout TaskGroup<ChildTaskResult>) -> GroupResult) -> GroupResult
Starts a new scope that can contain a dynamic number of child tasks.
func withThrowingTaskGroup <ChildTaskResult, GroupResult>( of: ChildTaskResult.Type, returning: GroupResult.Type, body: (inout ThrowingTaskGroup<ChildTaskResult, Error>) -> GroupResult) -> GroupResult
Starts a new scope that can contain a dynamic number of throwing child tasks.
func withUnsafeTemporaryAllocation <R>(byteCount : Int, alignment: Int, (UnsafeMutableRawBufferPointer) -> R) -> R
Provides scoped access to a raw buffer pointer with the specified byte count and alignment.
func withUnsafeTemporaryAllocation <T, R>(of: T.Type, capacity: Int, (UnsafeMutableBufferPointer<T>) -> R) -> R
Provides scoped access to a buffer pointer to memory of the specified type and with the specified capacity.