Skip to content

Commit 119f4c5

Browse files
committed
mention progress events
1 parent 47f9631 commit 119f4c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action/action.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ type Action interface {
1515
// Invoke is called to run the logic of the action and update linked resources if applicable.
1616
// Config, linked resource planned state, and linked resource prior state values should
1717
// be read from the InvokeRequest and new linked resource state values set on the InvokeResponse.
18+
//
19+
// The [InvokeResponse.SendProgress] function can be called in the Invoke method to immediately
20+
// report progress events related to the invocation of the action to Terraform.
1821
Invoke(context.Context, InvokeRequest, *InvokeResponse)
1922
}
2023

0 commit comments

Comments
 (0)