Skip to content

Commit 7fe7757

Browse files
author
Jamil Maqdis Anton
committed
Add type annotation
1 parent 5d897a3 commit 7fe7757

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/Read.fs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ module Read =
99
(msgCount: MessageCount)
1010
: Async<Result<ReadAllPage, string>> =
1111
ReadRaw.readFromAllStream store readingDirection startPositionInclusive msgCount
12-
|> ExceptionsHandler.simpleExceptionHandler
12+
|> ExceptionsHandler.simpleExceptionHandler
1313

14-
let readFromStream store readingDirection streamName readVersion msgCount =
14+
let readFromStream (store: SqlStreamStore.IStreamStore)
15+
(readingDirection: ReadingDirection)
16+
(streamName: StreamName)
17+
(readVersion: ReadVersion)
18+
(msgCount: MessageCount)
19+
: Async<Result<ReadStreamPage, string>> =
1520
ReadRaw.readFromStream store readingDirection streamName readVersion msgCount
16-
|> ExceptionsHandler.simpleExceptionHandler
21+
|> ExceptionsHandler.simpleExceptionHandler

0 commit comments

Comments
 (0)