UNPKG

arvo-core

Version:

The core Arvo package which provides application tier core primitives and contract system for building production-grade event-driven application. Provides ArvoEvent (CloudEvents-compliant), ArvoContract for type-safe service interfaces, event factories, O

21 lines (20 loc) 745 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ArvoExecutionSpanKind = exports.ArvoExecution = void 0; /** * ArvoExection class containing attribute constants for OpenTelemetry. */ // biome-ignore lint/complexity/noStaticOnlyClass: This needs to be a static class to group methods together var ArvoExecution = /** @class */ (function () { function ArvoExecution() { } ArvoExecution.ATTR_SPAN_KIND = 'arvo.span.kind'; return ArvoExecution; }()); exports.ArvoExecution = ArvoExecution; exports.ArvoExecutionSpanKind = { EVENT_HANDLER: 'handler.simple', ORCHESTRATOR: 'handler.orchestrator.statemachine', RESUMABLE: 'handler.orchestrator.imperative', INTERNAL: 'internal', };