Skip to content

swift_continuation_init(____)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_continuation_init(_:_:)

Creates an async task around the flags/context and sets the default task values.

@_silgen_name("swift_continuation_init")
public func swift_continuation_init(
    _ continuationContext: UnsafeRawPointer,
    _ continuationFlags: UnsafeRawPointer
) -> UnsafeRawPointer

Parameters

  • continuationContext: The context to set the task parent, resume parent, and normal result of the task.
  • continuationFlags: The flags to pass to the context.

Returns

The new AsyncTask created.

Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally