Class: Temporalio::Activity::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/temporalio/activity/info.rb

Overview

Note:

WARNING: This class may have required parameters added to its constructor. Users should not instantiate this class or it may break in incompatible ways.

Information about an activity.

Instance Attribute Summary collapse

Instance Attribute Details

#activity_idString

Returns ID for the activity.

Returns:

  • (String)

    ID for the activity.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#activity_typeString

Returns Type name for the activity.

Returns:

  • (String)

    Type name for the activity.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#attemptInteger

Returns Attempt the activity is on.

Returns:

  • (Integer)

    Attempt the activity is on.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#current_attempt_scheduled_timeTime

Returns When the current attempt was scheduled.

Returns:

  • (Time)

    When the current attempt was scheduled.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#heartbeat_detailsArray<Object>

Returns Details from the last heartbeat of the last attempt.

Returns:

  • (Array<Object>)

    Details from the last heartbeat of the last attempt.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#heartbeat_timeoutFloat?

Returns Heartbeat timeout set by the caller.

Returns:

  • (Float, nil)

    Heartbeat timeout set by the caller.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#local?Boolean

Returns Whether the activity is a local activity or not.

Returns:

  • (Boolean)

    Whether the activity is a local activity or not.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#schedule_to_close_timeoutFloat?

Returns Schedule to close timeout set by the caller.

Returns:

  • (Float, nil)

    Schedule to close timeout set by the caller.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#scheduled_timeTime

Returns When the activity was scheduled.

Returns:

  • (Time)

    When the activity was scheduled.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#start_to_close_timeoutFloat?

Returns Start to close timeout set by the caller.

Returns:

  • (Float, nil)

    Start to close timeout set by the caller.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#started_timeTime

Returns When the activity started.

Returns:

  • (Time)

    When the activity started.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#task_queueString

Returns Task queue this activity is on.

Returns:

  • (String)

    Task queue this activity is on.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#task_tokenString

Returns Task token uniquely identifying this activity. Note, this is a ‘ASCII-8BIT` encoded string, not a `UTF-8` encoded string nor a valid UTF-8 string.

Returns:

  • (String)

    Task token uniquely identifying this activity. Note, this is a ‘ASCII-8BIT` encoded string, not a `UTF-8` encoded string nor a valid UTF-8 string.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#workflow_idString

Returns Workflow ID that started this activity.

Returns:

  • (String)

    Workflow ID that started this activity.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#workflow_namespaceString

Returns Namespace this activity is on.

Returns:

  • (String)

    Namespace this activity is on.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#workflow_run_idString

Returns Workflow run ID that started this activity.

Returns:

  • (String)

    Workflow run ID that started this activity.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end

#workflow_typeString

Returns Workflow type name that started this activity.

Returns:

  • (String)

    Workflow type name that started this activity.



65
# File 'lib/temporalio/activity/info.rb', line 65

class Info; end