File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
reference/7.6/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -71,15 +71,15 @@ Advanced functions differ from compiled cmdlets in the following ways:
7171
7272## PipelineStopToken
7373
74- Beginning with PowerShell 7.6, ` $PSCmdlet ` includes the ` PipelineStopToken `
75- property allowing access a [ CancellationToken] [ 07 ] tied to the PowerShell stop
76- event source. The token is triggered when the PowerShell pipeline receives a
77- request to stop. Use it with a .NET method that accepts a ` CancellationToken `
78- overload to exit the method when requested rather than waiting until the method
79- returns.
80-
81- In the following example the function is calling ` HttpClient.GetStringAsync `
82- that can take a while to respond when the network is slow or there is a lot of
74+ Beginning with PowerShell 7.6-preview.4 , ` $PSCmdlet ` includes the
75+ ` PipelineStopToken ` property allowing access a [ CancellationToken] [ 07 ] tied to
76+ the PowerShell stop event source. The token is triggered when the PowerShell
77+ pipeline receives a request to stop. Use it with a .NET method that accepts a
78+ ` CancellationToken ` overload to exit the method when requested rather than
79+ waiting until the method returns.
80+
81+ In the following example, the function is calling ` HttpClient.GetStringAsync ` ,
82+ which can take time to respond when the network is slow or there is a lot of
8383data being returned.
8484
8585``` powershell
You can’t perform that action at this time.
0 commit comments