Skip to content

Commit

Permalink
Fix scheduler init
Browse files Browse the repository at this point in the history
  • Loading branch information
christophhagen committed Oct 1, 2023
1 parent af8c8a6 commit 7707f6e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/Clairvoyant/AsyncScheduler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ public protocol AsyncScheduler {
/**
The standard handler for asynchronous operations based on Swift `Task`s.
*/
public struct AsyncTaskScheduler: AsyncScheduler {
public struct AsyncTaskScheduler {

public init() {

}
}

extension AsyncTaskScheduler: AsyncScheduler {

public func schedule(asyncJob: @escaping @Sendable () async throws -> Void) {
Task {
Expand Down

0 comments on commit 7707f6e

Please sign in to comment.