Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #272 from bignerdranch/zwaldowski/stay-of-execution
Browse files Browse the repository at this point in the history
Backpedal on hoisting PreferredExecutor into FutureProtocol
  • Loading branch information
zwaldowski committed Jan 12, 2019
2 parents 57382f2 + e4377a8 commit d2d4632
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/Deferred/FutureUpon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
// Deferred
//
// Created by Zachary Waldowski on 4/2/16.
// Copyright © 2014-2018 Big Nerd Ranch. Licensed under MIT.
// Copyright © 2014-2019 Big Nerd Ranch. Licensed under MIT.
//

import Dispatch

extension FutureProtocol {
/// The natural executor for use with futures; a policy of the framework to
/// allow for shorthand syntax with `Future.upon(_:execute:)` and others.
public typealias PreferredExecutor = DispatchQueue
/// The natural executor for use with Futures; a policy of the framework to
/// allow for shorthand syntax with `Future.upon(_:execute:)` and others.
public typealias PreferredExecutor = DispatchQueue

extension FutureProtocol {
/// The executor to use as a default argument to `upon` methods on `Future`.
///
/// Don't provide a default parameter using this declaration unless doing
Expand Down

0 comments on commit d2d4632

Please sign in to comment.