+1
appview/state/state.go
+1
appview/state/state.go
+3
-14
jetstream/jetstream.go
+3
-14
jetstream/jetstream.go
···+// StartJetstream starts the jetstream client and processes events using the provided processFunc.+// The caller is responsible for saving the last time_us to the database (just use your db.SaveLastTimeUs).func (j *JetstreamClient) StartJetstream(ctx context.Context, processFunc func(context.Context, *models.Event) error) error {