Completes the request using the given function.
Completes the request using the given function. The input to the function is produced with the in-scope entity unmarshaller and the result value of the function is marshalled with the in-scope marshaller. Unmarshalled entity is sampled for tracing and can be used thereafter to add trace annotations. RPC name is set to unmarshalled entity simple class name. Service name is set to HTTP service actor's name. After marshalling step, trace is automatically closed and sent to collector service. tracedHandleWith can be a convenient method combining entity with complete.
Completes the request using the given function.
Completes the request using the given function. The input to the function is produced with the in-scope entity unmarshaller and the result value of the function is marshalled with the in-scope marshaller. Unmarshalled entity is sampled for tracing and can be used thereafter to add trace annotations. RPC name is set to unmarshalled entity simple class name. After marshalling step, trace is automatically closed and sent to collector service. tracedHandleWith can be a convenient method combining entity with complete.
service name to be added to trace