Skip to content

Commit d61d217

Browse files
committed
Add Create.fs
1 parent bfab089 commit d61d217

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace SqlStreamStore.FSharp
2+
3+
open SqlStreamStore
4+
5+
module Create =
6+
7+
/// Represents an in-memory implementation of a stream store. Use for testing or high/speed + volatile scenarios.
8+
let inMemoryStore : unit -> InMemoryStreamStore = fun _ -> new InMemoryStreamStore()

src/SqlStreamStore.FSharp/SqlStreamStore.FSharp.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<Compile Include="Subscribe.fs" />
2929
<Folder Include="SqlStreamStore.FSharp" />
3030
<Compile Include="Append.fs" />
31+
<Compile Include="Create.fs" />
3132
</ItemGroup>
3233

3334
</Project>

0 commit comments

Comments
 (0)