Skip to content

Commit 0d57105

Browse files
committed
RetrieveWorkflow return handle interface
1 parent f703fbe commit 0d57105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ func (c *dbosContext) RetrieveWorkflow(_ DBOSContext, workflowID string) (Workfl
13441344
// } else {
13451345
// log.Printf("Result: %d", result)
13461346
// }
1347-
func RetrieveWorkflow[R any](ctx DBOSContext, workflowID string) (*workflowPollingHandle[R], error) {
1347+
func RetrieveWorkflow[R any](ctx DBOSContext, workflowID string) (WorkflowHandle[R], error) {
13481348
if ctx == nil {
13491349
return nil, errors.New("dbosCtx cannot be nil")
13501350
}

0 commit comments

Comments
 (0)