FactSetOnDemandsetWaitUntilDoneMode Method |
Set whether or not to wait until a dataframe is done downloading and parsing before returning from a factlet execution call.
If not in waitUntilDone mode, when a factlet call is made a DataFrame is immediately returned representing the response from OnDemand servers as it arrives. The DataFrame should not be accessed until it's isDone member variable is set to true
ExamplesDataFrame df = fsod.executeFactlet(f);
while(!df.isDone) {
Thread.Sleep(20);
}
Namespace:
Kratos_3.RunTimePlatform
Assembly:
Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntaxpublic void setWaitUntilDoneMode(
bool waitUntilDone
)
Public Sub setWaitUntilDoneMode (
waitUntilDone As Boolean
)
public:
void setWaitUntilDoneMode(
bool waitUntilDone
)
member setWaitUntilDoneMode :
waitUntilDone : bool -> unit
Parameters
- waitUntilDone
- Type: SystemBoolean
See Also