-
Notifies the status of an event.
Declaration
Swift
func notify<E, A>(_ event: ProgressEvent<A>) -> IO<E, Void> where E : Error, A : CustomProgressDescriptionParameters
eventProgress description.
Return Value
An
IOdescribing the progress report. -
oneShot(_:)Extension methodReports an event that completes successfully and instantly.
Declaration
Swift
func oneShot<E, A>(_ step: A) -> IO<E, Void> where E : Error, A : CustomProgressDescriptionParameters
stepStep description.
Return Value
An
IOdescribing the progress report. -
inProgress(_:)Extension methodReports an ongoing event.
Declaration
Swift
func inProgress<E, A>(_ step: A) -> IO<E, Void> where E : Error, A : CustomProgressDescriptionParameters
stepStep description.
Return Value
An
IOdescribing the progress report. -
succeeded(_:)Extension methodReports the successful completion of an event.
Declaration
Swift
func succeeded<E, A>(_ step: A) -> IO<E, Void> where E : Error, A : CustomProgressDescriptionParameters
stepStep description.
Return Value
An
IOdescribing the progress report. -
failed(_:)Extension methodReports the failed completion of an event.
Declaration
Swift
func failed<E, A>(_ step: A) -> IO<E, Void> where E : Error, A : CustomProgressDescriptionParameters
stepStep description.
Return Value
An
IOdescribing the progress report.
Install in Dash
ProgressReport Protocol Reference