< Back

Wait-PodeTask

Sat Jan 18, 2020 7:21 pm

NAME Wait-PodeTask



SYNOPSIS

Waits for a task to finish, and returns a result if there is one.





SYNTAX

Wait-PodeTask [-Task] <Task> [<CommonParameters>]





DESCRIPTION

Waits for a task to finish, and returns a result if there is one.





PARAMETERS

-Task <Task>

The task to wait on.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Object





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$context = Wait-PodeTask -Task $listener.GetContextAsync()















RELATED LINKS