We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b2f41 commit 5b9d5d2Copy full SHA for 5b9d5d2
1 file changed
rust/src/workflow.rs
@@ -280,6 +280,10 @@ impl Workflow {
280
unsafe { Workflow::ref_from_raw(NonNull::new(result).unwrap()) }
281
}
282
283
+ pub fn cloned(name: &str) -> Ref<Workflow> {
284
+ Self::instance(name).clone_to(name)
285
+ }
286
+
287
/// List of all registered [Workflow]'s
288
pub fn list() -> Array<Workflow> {
289
let mut count = 0;
0 commit comments