elsa-core/src/modules/Elsa.JavaScript/Notifications/EvaluatingJavaScript.cs

11 lines
456 B
C#
Raw Normal View History

using Elsa.Expressions.Models;
using Elsa.Mediator.Services;
2022-01-12 10:43:46 +00:00
using Jint;
namespace Elsa.JavaScript.Notifications;
2022-01-12 10:43:46 +00:00
/// <summary>
/// This notification is published every time a JavaScript expression is about to be evaluated.
/// It gives subscribers a chance to configure the <see cref="Engine"/> with additional functions and variables.
/// </summary>
2022-01-12 10:43:46 +00:00
public record EvaluatingJavaScript(Engine Engine, ExpressionExecutionContext Context) : INotification;