anchor.diff:  -export_type([function_name/0]).
   
   
  --define(AWAIT_READINESS_RETRIES, 300).
  --define(AWAIT_READINESS_INTERVAL_SEC, 1).
  +-define(AWAIT_RETRIES, 300).
  +-define(AWAIT_INTERVAL_SEC, 1).
   
   
   %%%===================================================================
  
positive.code: %% @private
  -spec await_function_readiness(initiation_ctx()) -> ok | no_return().
  await_function_readiness(InitiationCtx) ->
      await_function_readiness(InitiationCtx, ?AWAIT_READINESS_RETRIES).
  
  
  %% @private
  
negative.code:             log_function_ready(InitiationCtx);
          not_ready ->
              assert_atm_workflow_execution_is_not_stopping(InitiationCtx),
              timer:sleep(timer:seconds(?AWAIT_INTERVAL_SEC)),
              await_function_readiness(InitiationCtx, RetriesLeft - 1)
      end.
  
  