mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
docs: Fix language
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
This commit is contained in:
parent
ee2be9409f
commit
45183b20f1
@ -20,8 +20,8 @@ For example, if the input data claims to be JSON-LD but is actually not.
|
|||||||
The power of using this interface really shines when using certain utility classes.
|
The power of using this interface really shines when using certain utility classes.
|
||||||
The one we use the most is the `StatusWaterfallHandler`,
|
The one we use the most is the `StatusWaterfallHandler`,
|
||||||
which takes as input a list of handlers of the same type.
|
which takes as input a list of handlers of the same type.
|
||||||
The input and output of a `StatusWaterfallHandler` is the same as those of its inputs,
|
The output(s) of a `StatusWaterfallHandler` will conform to the same interface(s)
|
||||||
meaning it can be used in the same places.
|
as its input handler(s), meaning it can be used in the same places.
|
||||||
When doing a `canHandle` call, it will iterate over all its input handlers
|
When doing a `canHandle` call, it will iterate over all its input handlers
|
||||||
to find the first one where the `canHandle` call succeeds,
|
to find the first one where the `canHandle` call succeeds,
|
||||||
and when calling `handle` it will return the result of that specific handler.
|
and when calling `handle` it will return the result of that specific handler.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user