Skip to content

Conversation

@phutwo
Copy link
Contributor

@phutwo phutwo commented Jun 25, 2018

The receiver interface did not have a way to return the depth of the channel on every call; it would return null or the input depth of the channel if the channel's depth did not exist or less than the input channel's depth. This fixes the interface and always returns the depth of the channel.

" current_count = tonumber(current_count)\n" +
"end\n" +
"if current_count <= tonumber($lastSeenCount$) then\n" +
" return {tostring(current_count)}\n" +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should the caller do in this scenario? Update lastSeen to the past?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants