Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed May 3, 2024
1 parent 7042b36 commit dfaf36a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions server/neptune/temporalworker/job/noop_stream_handler.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package job

import (
"context"
)

type NoopStreamHandler struct{}

func (n *NoopStreamHandler) RegisterJob(id string) chan string {
return make(chan string)
}

func (n *NoopStreamHandler) CloseJob(ctx context.Context, jobID string) error {
return nil
}

func (n *NoopStreamHandler) CleanUp(ctx context.Context) error {
return nil
}

0 comments on commit dfaf36a

Please sign in to comment.