pub fn effect<T>(action: impl Into<Action<Infallible>>) -> Task<T>
Creates a new Task that executes the given Action and produces no output.
Task
Action