Module: Temporalio::Workflow::Unsafe
- Defined in:
- lib/temporalio/workflow.rb
Overview
Unsafe module contains only-in-workflow methods that are considered unsafe. These should not be used unless the consequences are understood.
Class Method Summary collapse
-
.illegal_call_tracing_disabled { ... } ⇒ Object
Run a block of code with illegal call tracing disabled.
-
.replaying? ⇒ Boolean
True if the workflow is replaying, false otherwise.
Class Method Details
.illegal_call_tracing_disabled { ... } ⇒ Object
Run a block of code with illegal call tracing disabled. Users should be cautious about using this as it can often signify unsafe code.
464 465 466 |
# File 'lib/temporalio/workflow.rb', line 464 def self.illegal_call_tracing_disabled(&) Workflow._current.illegal_call_tracing_disabled(&) end |
.replaying? ⇒ Boolean
454 455 456 |
# File 'lib/temporalio/workflow.rb', line 454 def self. Workflow._current. end |