Initializer
init(uri:enableDebugging:)
Initialises a new resource with the specified URI.
init(uri: String = "resource://\(UUID().uuidString)", enableDebugging: Bool = false)
Parameters
uri-
The URI identifying this resource. Defaults to a generated URI.
enableDebugging-
Whether to enable debug output for this resource