Skip to content

Printed output isn't returned to REPL until an expression is send for evaluation #49

@cemerick

Description

@cemerick

e.g. if a callback is printing to *out* via println, prn, etc., that output isn't returned to the REPL until another expression is sent for evaluation. This is due to the synchronous request/response model of the communication channel…a very reasonable thing for evaluation results, but very counterproductive w.r.t. printed output.

Not sure this can be readily addressed as long as we're using the CrossPageChannel, with agents server-side to serialize responses. SSE + regular XHR (as discussed in #47 and elsewhere) would solve this, though that implies significant re-work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions