Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created January 5, 2023 16:27
Show Gist options
  • Save fitomad/903ebd19eb3e0f8bb71252add5e831a4 to your computer and use it in GitHub Desktop.
Save fitomad/903ebd19eb3e0f8bb71252add5e831a4 to your computer and use it in GitHub Desktop.
protocol MessageHandler {
var nextHandler: MessageHandler? { get set }
func process(_ message: String) throws
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment