Required Instance Propertyheckj.formic 0.3.0Formic
executionTimeout
The maximum time allowed for the command to execute.
var executionTimeout: Duration { get }
The maximum time allowed for the command to execute.
var executionTimeout: Duration { get }
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
protocol Command : Hashable, Identifiable, Sendable
A type that represents a command, run locally or remotely.
@frozen struct Duration
A representation of high precision time.
var id: UUID { get }
The identifier of a command.
var ignoreFailure: Bool { get }
A Boolean value that indicates whether a failing command within a sequence should fail the overall sequence of commands.
var retry: Backoff { get }
The retry settings to apply when a command fails.
struct Backoff
The retry and backoff delay settings for a command.
func run(host: RemoteHost, logger: Logger?) async throws -> CommandOutput
The function that is invoked by an engine to run the command.