Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan L <[email protected]>
  • Loading branch information
hallgren and lunjon authored Mar 1, 2024
1 parent 39dd37c commit f1dc00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ The projection handler include the event register and a encoder to deserialize e

### Projection

A projection is created from the projection handler via the `Projection()` method. The method takes a `fetchFunc` and a `callbackFunc` and return a pointer to a Projection.
A _projection_ is created from the projection handler via the `Projection()` method. The method takes a `fetchFunc` and a `callbackFunc` and returns a pointer to a Projection.

```go
p := ph.Projection(f fetchFunc, c callbackFunc)
Expand Down

0 comments on commit f1dc00b

Please sign in to comment.