-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IWF-369: Remove key from map when signal/internal channel is empty #495
Conversation
} | ||
} | ||
|
||
func (i *InternalChannel) DumpReceived() map[string][]*iwfidl.EncodedObject { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be GetReceived
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I think GetAllReceived
maybe more clear and consistent with other GetAll...
methods for continueAsNewer to call.
func NewInterStateChannel() *InternalChannel { | ||
return &InternalChannel{ | ||
receivedData: map[string][]*iwfidl.EncodedObject{}, | ||
} | ||
} | ||
|
||
func RebuildInterStateChannel(refill map[string][]*iwfidl.EncodedObject) *InternalChannel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NewInternalChannel
& RebuildInternalChannel
?
Description
Before

After
Checklist
Related Issue
Closes #issue_number