What is the behaviour when execute resource subscribes to a custom resource with delayed action

Hi,

I have a custom resource which use accumulator pattern to collect a service list.

action :add do
          with_run_context :root do
                edit_resource(:test_custom_resource, new_resource.test_property) do |new_resource|
                  nodes (nodes + new_resource.nodes)
                  action :nothing
                  delayed_action :create
                end
       end
end

As I understand, this gets run at the last of the converge, due to delayed_action. I want to execute a script after this is run. Is that possible to do, would subscribes work?

my guess is that the execute resource then would also be delayed to run after the custom resource does. Testing will help verify that or not.

Thank you, yes "execute resource then would also be delayed to run after the custom resource does"