You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Pkg
Pkg.add("Dagger")
Pkg.add("TimespanLogging")
using Dagger
using TimespanLogging
ctx = Dagger.Sch.eager_context()
log = TimespanLogging.LocalEventLog()
ctx.log_sink = log
functiontaskA()
println("In taskA")
return"Executed A"endfunctiontaskB(x)
println("In taskB")
return"Executed B after "* x
endfunctiontaskC(x)
println("In taskC")
return"Executed C after "* x
endfunctiontaskD(x, y)
println("In taskD")
return"Executed D after "* x *" and "* y
end
a = Dagger.delayed(taskA)()
b = Dagger.delayed(taskB)(a)
c = Dagger.delayed(taskC)(a)
d = Dagger.delayed(taskD)(b, c)
# Execute the task graph
ctx.log_file ="out.svg"
result = Dagger.compute(ctx, d)
The text was updated successfully, but these errors were encountered:
This probably needs to be documented better, but you now need to make sure you load Colors.jl manually (via using Colors) to get access to the show_plan implementation.
Tested environment: Ubuntu22.04 and macOS 13.5.2
Julia version: 1.9.3
Error string:
Code:
The text was updated successfully, but these errors were encountered: