Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit fbec855

Browse files
authored
Merge pull request #3 from ktoso/patch-2
slight formatting fix for readme
2 parents 9611c07 + 25fdbf0 commit fbec855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ Examples:
3737
- if a "framework context" exists and _carries_ the baggage context already, it is permitted to pass that context together with the baggage;
3838
- it is _strongly recommended_ to store the baggage context as `baggage` property of `FrameworkContext` in such cases, in order to avoid the confusing spelling of `context.context`, and favoring the self-explanatory `context.baggage` spelling when the baggage is contained in a framework context object.
3939
- `func receiveMessage(_ message: Message, context: FrameworkContext)`
40-
- `func handle(element: Element,` **`context: FrameworkContext`** `, settings: Settings? = nil)
40+
- `func handle(element: Element,` **`context: FrameworkContext`** `, settings: Settings? = nil)`
4141
- before any defaulted non-function parameters
42-
- `func handle(element: Element,` **`context: FrameworkContext`** `, settings: Settings? = nil, onComplete: () -> ())
42+
- `func handle(element: Element,` **`context: FrameworkContext`** `, settings: Settings? = nil, onComplete: () -> ())`
4343
- before defaulted parameters, which themselfes are before required function parameters
44-
- `func handle(element: Element,` **`context: FrameworkContext`** `, onError: (Error) -> (), onComplete: (() -> ())? = nil)
44+
- `func handle(element: Element,` **`context: FrameworkContext`** `, onError: (Error) -> (), onComplete: (() -> ())? = nil)`
4545

4646
In case there are _multiple_ "framework-ish" parameters, such as passing a NIO `EventLoop` or similar, we suggest:
4747

0 commit comments

Comments
 (0)