// Next advances the iterator to the subsequent event, returning whether there
// are any more events found. In case of a retrieval or parsing error, false is
// returned and Error() can be queried for the exact failure.
Next advances the iterator to the subsequent event, returning whether there
are any more events found. In case of a retrieval or parsing error, false is
returned and Error() can be queried for the exact failure.
// Next advances the iterator to the subsequent event returning whether there // are any more events found . In case of a retrieval or parsing error false is // returned and Error () can be queried for the exact failure .
func (it *PropertiesNewKeyValueIterator) Next() bool {
	if it.fail != nil {
		return false
	}
	if it.done {
		select {
		case log := <-it.logs:
			it.Event = new(PropertiesNewKeyValue)
			if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
				it.fail = err
				return false
			}
			it.Event.Raw = log
			return true
		default:
			return false
		}
	}
	select {
	case log := <-it.logs:
		it.Event = new(PropertiesNewKeyValue)
		if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
			it.fail = err
			return false
		}
		it.Event.Raw = log
		return true
	case err := <-it.sub.Err():
		it.done = true
		it.fail = err
		return it.Next()
	}
}
func ( it * PropertiesNewKeyValueIterator ) Next ( ) bool { if it . fail != nil { return false } if it . done { select { case log := <- it . logs : it . Event = new ( PropertiesNewKeyValue ) if err := it . contract . UnpackLog ( it . Event , it . event , log ) ; err != nil { it . fail = err return false } it . Event . Raw = log return true default : return false } } select { case log := <- it . logs : it . Event = new ( PropertiesNewKeyValue ) if err := it . contract . UnpackLog ( it . Event , it . event , log ) ; err != nil { it . fail = err return false } it . Event . Raw = log return true case err := <- it . sub . Err ( ) : it . done = true it . fail = err return it . Next ( ) } }
Next advances the iterator to the subsequent event, returning whether there
are any more events found.
Next advances the iterator to the subsequent event returning whether there are any more events found .
// If the iterator failed, stop iterating // If the iterator completed, deliver directly whatever's available // Iterator still in progress, wait for either a data or an error event