Skip to content

lightest-night/system.eventsourcing.checkpoints.mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightest Night

Event Sourcing > Checkpoints > MySql

The elements required to manage a Stream checkpoint inside a MySql data store

Build Status

How To Use

Registration
  • Asp.Net Standard/Core Dependency Injection
    • Use the provided services.AddMySqlCheckpointManagement(Action<MySqlOptions>? options = null) method
Usage
  • Task SetCheckpoint(string checkpointName, long checkpoint, CancellationToken cancellationToken = default)
    • An asynchronous function to call when setting the checkpoint
  • Task<long?> GetCheckpoint(string checkpointName, CancellationToken cancellationToken = default)
    • An asynchronous function to call when getting the checkpoint
  • Task ClearCheckpoint(string checkpointName, CancellationToken cancellationToken = default)
    • An asynchronous function to call when clearing the checkpoint

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages