Skip to content

Commit dfd0931

Browse files
session: Add Close function to Store interface
1 parent 6f73e7e commit dfd0931

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

session/interface.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,8 @@ type Store interface {
329329
// "dest" state.
330330
ShiftState(ctx context.Context, id ID, dest State) error
331331

332+
// Close closes the underlying store.
333+
Close() error
334+
332335
IDToGroupIndex
333336
}

0 commit comments

Comments
 (0)