这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jonsequitur
Copy link
Contributor

This resolves an issue where the kernel's actual command handling was happening after pipeline execution returns, rather than as the last step in the pipeline.

Fixing this unblocks the ability to see CSharpKernel.ScriptState either before or after a submission is applied.

@jonsequitur jonsequitur requested a review from colombod September 5, 2019 21:59
| Error(ex) -> context.OnError(ex)
context.Publish(CodeSubmissionEvaluated(codeSubmission))
context.Complete()
context.Publish(CommandHandled(codeSubmission))
Copy link
Member

Choose a reason for hiding this comment

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

maybe we could use the Complete to actually publish the CommandHandled ?


public void Complete()
{
IsCompleted = true;
Copy link
Member

Choose a reason for hiding this comment

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

we might still need this part

@jonsequitur jonsequitur force-pushed the pipeline-fixes-and-ScriptState-access branch 2 times, most recently from 7fb60ff to a279e13 Compare September 6, 2019 02:22
@jonsequitur jonsequitur force-pushed the pipeline-fixes-and-ScriptState-access branch from a279e13 to ca027f4 Compare September 6, 2019 02:51
@jonsequitur jonsequitur force-pushed the pipeline-fixes-and-ScriptState-access branch from 84d8e40 to 7f14c0b Compare September 6, 2019 17:11
@jonsequitur jonsequitur merged commit 75093ef into dotnet:master Sep 6, 2019
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.

2 participants