Click or drag to resize

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
Examples
DataFrame df = fsod.executeFactlet(f);
while(!df.isDone) {
    Thread.Sleep(20);
}
// access the data frame here

Namespace:  Kratos_3.RunTimePlatform
Assembly:  Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntax
public void setWaitUntilDoneMode(
	bool waitUntilDone
)

Parameters

waitUntilDone
Type: SystemBoolean
See Also