Skip to main content

new

Method
This is a method of the SpanEvent class in the trace module.
Create a new event.

Signature

def new(name: impl Into<String>, timestamp: Duration) -> Self

Parameters

name
impl Into<String>
required
No description available.
timestamp
Duration
required
No description available.

Returns

Returns
Self
The result of the operation.