Skip to content

Commit

Permalink
remove some stale comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Norton committed Jan 2, 2024
1 parent 6261a80 commit 7a40d3a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion policy/policy_handler/async.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func getAsyncSubscriptionData(ctx context.Context, req skill.RequestContext) ([]
// buildAsyncDataSources always returns at least a data.AsyncDataSource,
// but also will return a data.FixedDataSource containing the event payload when applicable
func buildAsyncDataSources(ctx context.Context, req skill.RequestContext) ([]data.DataSource, error) {
// todo can/should local eval support async queries?
if req.Event.Context.SyncRequest.Name == eventNameLocalEval {
return []data.DataSource{}, nil
}
Expand Down
1 change: 0 additions & 1 deletion policy/policy_handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func (h EventHandler) Start() {
skill.Start(handlers)
}

// EvaluateGoals runs the goal evaluation and returns the results after transacting them.
func (h EventHandler) handle(ctx context.Context, req skill.RequestContext) skill.Status {
var (
subscriptionResult [][]edn.RawMessage
Expand Down

0 comments on commit 7a40d3a

Please sign in to comment.