dolphindb 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -2935,7 +2935,7 @@ export class DDB {
2935
2935
  }
2936
2936
  let result;
2937
2937
  if (function_definition_pattern.test(func))
2938
- func = await this.define(func);
2938
+ func = await this.define(func, { urgent: options?.urgent });
2939
2939
  if (convertable)
2940
2940
  result = await this.call(func, args, options);
2941
2941
  else {