Skip to content

Commit

Permalink
[trello.com/c/0dgGzsPE]: fix deadline visibility modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBenua committed Feb 24, 2025
1 parent d40fb9f commit ef5b83e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CommonKit/Sources/CommonKit/Helpers/Deadline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import Foundation
import QuartzCore

public func deadline<R>(
/// Executes operation `operation` with deadline `instant`
/// Supports actor isolation
func deadline<R>(
until instant: TimeInterval,
isolation: isolated (any Actor)? = #isolation,
operation: @Sendable () async throws -> R
Expand Down

0 comments on commit ef5b83e

Please sign in to comment.