-
Notifies the status of an event.
Declaration
Swift
func notify<E, A>(_ event: ProgressEvent<A>) -> IO<E, Void> where E : Error, A : CustomProgressDescription
Parameters
event
Progress description.
Return Value
An
IO
describing 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 : CustomProgressDescription
Parameters
step
Step description.
Return Value
An
IO
describing the progress report. -
inProgress(_:)
Extension methodReports an ongoing event.
Declaration
Swift
func inProgress<E, A>(_ step: A) -> IO<E, Void> where E : Error, A : CustomProgressDescription
Parameters
step
Step description.
Return Value
An
IO
describing 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 : CustomProgressDescription
Parameters
step
Step description.
Return Value
An
IO
describing 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 : CustomProgressDescription
Parameters
step
Step description.
Return Value
An
IO
describing the progress report.