DotnetProgramBuildCompletionAnnotation Properties
ClassProperties1 member
Provides an optional successful-build barrier for consumers of a .NET program's build output.
Gets the callback that waits for the current build to complete successfully.
public Func<IServiceProvider, CancellationToken, Task> Callback { get; }Remarks
Invoke this callback for each operation; do not cache its returned task across retries or rebuilds. Cancellation of a consumer must not cancel the build or other consumers.