-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Extender::SetPostStartupCallback
Karel Donk edited this page Dec 10, 2019
·
3 revisions
Sets the post-startup callback function. It's only possible to set this callback function when the extender isn't running.
This callback function gets called by the QuantumGate instance hosting the extender after it has completed starting up the extender and the extender has entered the running state. The extender should generally only begin interactions with the QuantumGate instance after this function has been called.
It's not required to set this callback function.
Result<> SetPostStartupCallback(PostStartupCallback&& function) noexcept;
Name | Description |
---|---|
function |
A QuantumGate::Extender::PostStartupCallback object containing the function that should be called. See QuantumGate Callbacks for more information. |
Returns a QuantumGate::Result
object equal to one of the following QuantumGate::ResultCode
s:
Value | Description |
---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. The extender may have been running. |
QuantumGate::ResultCode::InvalidArgument |
The operation failed because an invalid argument was passed in. |