Skip to content

Doing println() from future() #266

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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