Generate unique ID for requestID
This commit is contained in:
@@ -92,7 +92,7 @@ void BrowserBridge::sendEvent(speckle::utility::String eventName, std::unique_pt
|
||||
return;
|
||||
}
|
||||
//Generate a custom requestID for the data
|
||||
String requestID{Guid64{} + String{"_"} + eventName};
|
||||
String requestID{Guid64{true} + String{"_"} + eventName};
|
||||
cacheResult(std::move(data), requestID, false);
|
||||
//Send a notification using the event name and request ID to signal that the data is available
|
||||
m_portal->execute(getName() + ".emitResponseReady('" + eventName + "','" + requestID + "')");
|
||||
|
||||
Reference in New Issue
Block a user