refactor(connection): carry Host facts with generations
This commit is contained in:
1 parent
17c03bbbcc
commit
e036aae7c0
24 files changed
+298
-106
No files matched your search
@@ -111,7 +111,7 @@ export function apply(ctx: Context): void {
|
||||
})
|
||||
control.start()
|
||||
ctx.on('connection/reset', () => { sessions.handleConnected() })
|
||||
if (connection.hostDescription.getSnapshot() !== undefined) sessions.handleConnected()
|
||||
if (connection.generation.getSnapshot() !== undefined) sessions.handleConnected()
|
||||
ctx.typert.contexts.registerClient('agent', {
|
||||
identity: candidate => sessions.scopeOf(candidate),
|
||||
resolve: sessionId => sessions.resolveAgentScope(sessionId),
|
||||
|
||||
Reference in new issue
Block a user