Skip to content

Commit

Permalink
Non-colliding API
Browse files Browse the repository at this point in the history
  • Loading branch information
Joannis committed Jan 29, 2022
1 parent 12dfc20 commit 25186c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Meow/AsyncAwait.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ extension MeowDatabase.Async {

@available(macOS 10.15, iOS 13, watchOS 8, tvOS 15, *)
extension Migrator {
public func add(_ action: @escaping (MeowCollection<M>.Async) async throws -> ()) {
public func addAsync(_ action: @escaping (MeowCollection<M>.Async) async throws -> ()) {
add { collection in
let promise = collection.eventLoop.makePromise(of: Void.self)
promise.completeWithTask {
Expand Down

0 comments on commit 25186c3

Please sign in to comment.