MessageCollection: what does dispose() do?

Hi, I’m trying to understand what exactly does dispose() do for GroupChannelCollection and MessageCollection?

I can’t seemed to find the difference by console.logging the collection instance before and after calling dispose().

Asking this because I’m trying to completely remove the MessageCollection instance after using it. Initially thought calling messageCollection.dispose() would work, but it seems like we could still call messageCollection.loadNext() after that. Is that an expected behaviour?

What I wanted to do is to clean it up from the SDK, as if it never existed. Wondering if that is only achievable by disconnecting from the SDK?

Would appreciate some help here, thank you.