Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Jun 7, 2024
1 parent 43757b2 commit 0bfb329
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions swift/src/Ice/ObjectAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ public protocol ObjectAdapter: AnyObject {
/// - Returns: This object adapter.
/// - Throws: `Ice.InitializationException` if the object adapter's dispatch pipeline has already been created. This
/// creation typically occurs the first time the object adapter dispatches an incoming request.
// TODO: should the middleware function throw?
@discardableResult
func use(_: @escaping (Dispatcher) -> Dispatcher) throws -> Self
func use(_ middleware: @escaping (Dispatcher) -> Dispatcher) throws -> Self

/// Add a servant to this object adapter's Active Servant Map. Note that one servant can implement several Ice
/// objects by registering the servant with multiple identities. Adding a servant with an identity that is in the
Expand Down

0 comments on commit 0bfb329

Please sign in to comment.