bitbankres class : IsCompleted getter
Description
Gets a value indicating whether the response to the request has returned.
Syntax
bitbankresInstance.IsCompleted
Arguments
None
Return value
Class | Description |
bool | A value indicating whether the response to the request has returned. |
Sample code
1: | bitbankapi bitbankapiIns = new bitbankapi(); |
2: | bitbankres bitbankresIns = bitbankapiIns.Ticker("btc_jpy"); // Public Api. Asynchronous request. |
3: | while(true) |
4: | if(bitbankresIns.IsCompleted) |
5: | string jsonStr = bitbankresIns.Result; |
6: | break; |
7: | endif |
8: | // Maybe you should wait here. |
9: | endwhile |
Notes
Returns true if the response to the request is already returned, otherwise returns false.
Links for reference
None.