Skip to content

Commit c547de1

Browse files
committed
types
1 parent e8b607f commit c547de1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: sig/datadog/di/probe_notification_builder.rbs

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module Datadog
1414

1515
def build_emitting: (Probe probe) -> Hash[Symbol,untyped]
1616

17+
def build_errored: (Probe probe, Exception exception) -> Hash[Symbol,untyped]
18+
1719
def build_executed: (Probe probe, ?trace_point: TracePoint, ?rv: untyped?, ?duration: Float, ?caller_locations: Array[untyped], ?args: untyped?, ?kwargs: untyped?, ?serialized_entry_args: untyped?) -> Hash[Symbol,untyped]
1820

1921
def build_snapshot: (Probe probe, ?rv: untyped?, ?snapshot: untyped?, ?path: String?, ?duration: Float, ?caller_locations: Array[untyped], ?args: untyped?, ?kwargs: untyped?, ?serialized_entry_args: untyped?) -> Hash[Symbol,untyped]

Diff for: sig/datadog/di/probe_notifier_worker.rbs

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ module Datadog
3737
def start: () -> void
3838
def stop: (?::Integer timeout) -> void
3939
def flush: () -> void
40+
41+
def add_status: (Hash[Symbol, untyped]) -> void
42+
def add_snapshot: (Hash[Symbol, untyped]) -> void
4043

4144
private
4245

0 commit comments

Comments
 (0)