// Invoke takes a message requests and invokes an app, either local or remote
Invoke takes a message requests and invokes an app, either local or remote
// Invoke takes a message requests and invokes an app either local or remote
func (d *directMessaging) Invoke(req *DirectMessageRequest) (*DirectMessageResponse, error) {
	if req.Target == d.daprID {
		return d.invokeLocal(req)
	}
	return d.invokeWithRetry(invokeRemoteRetryCount, d.invokeRemote, req)
}
func ( d * directMessaging ) Invoke ( req * DirectMessageRequest ) ( * DirectMessageResponse , error ) { if req . Target == d . daprID { return d . invokeLocal ( req ) } return d . invokeWithRetry ( invokeRemoteRetryCount , d . invokeRemote , req ) }
Invoke takes a message requests and invokes an app, either local or remote
Invoke takes a message requests and invokes an app either local or remote