Skip to content

Doing println() from future() #266

@Sdaas

Description

@Sdaas

I am a noob to Clojure, and I am loving gorilla-repl ! I am trying to understand the expected behavior on calling println() from inside a call to future(). Something like ...

(future (Thread/sleep 4000)
         (println "hello world"))

Should I expect "hello world" to be printed on the screen 4 seconds later ? Right now, I can see that the future gets realized, but I never see the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions