Skip to content

Conversation

@skiplabsdaniel
Copy link
Contributor

No description provided.

@skiplabsdaniel skiplabsdaniel force-pushed the subscribe-callbacks branch 3 times, most recently from 25615ca to 6657909 Compare November 26, 2024 16:51
@jberdine
Copy link
Contributor

@beauby, do you think the compiler test failures look like just stale expected results for compiler errors after your change to add full paths to source locations?

@beauby
Copy link
Contributor

beauby commented Nov 27, 2024

@beauby, do you think the compiler test failures look like just stale expected results for compiler errors after your change to add full paths to source locations?

Yes, exactly.

Copy link
Contributor

@beauby beauby left a comment

Choose a reason for hiding this comment

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

LGTM

}

class Notifier(eptr: SKStore.ExternalPointer) {
class ExternNotifier(eptr: SKStore.ExternalPointer) extends Notifier {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
class ExternNotifier(eptr: SKStore.ExternalPointer) extends Notifier {
class ExternalNotifier(eptr: SKStore.ExternalPointer) extends Notifier {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I prefer to keep the naming consistent, if it has to be renamed it's better to do it in another PR by renaming all the other Extern.

remoteCollections.each((_k, es) -> es.shutdown());
});
context.removePersistent(kRemoteSpecifiers);
context.update();
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this update missing before?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed

optRequest: ?Request,
): GetResult<Values> {
resourceInstanceId = Ksuid::create().toString();
//subscribe
Copy link
Contributor

Choose a reason for hiding this comment

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

?

context.sessions.maybeGet(session).each(sub -> {
close = sub.cmd match {
| SKStore.NWatch(_, _, _, close, _) -> close
| _ -> invariant_violation("Not manage session kind")
Copy link
Contributor

Choose a reason for hiding this comment

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

When can this happen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In theory, never

@skiplabsdaniel skiplabsdaniel force-pushed the subscribe-callbacks branch 2 times, most recently from 7f2a6e5 to eefa79c Compare November 28, 2024 16:43
@skiplabsdaniel skiplabsdaniel merged commit 5822545 into SkipLabs:main Nov 28, 2024
8 of 9 checks passed
@skiplabsdaniel skiplabsdaniel deleted the subscribe-callbacks branch November 28, 2024 21:12
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