returning value outside of go

Description

I'm not 100% sure if this is bug, but reporting it would do no harm. Take following function (which makes use of https://github.com/r0man/cljs-http)

Calling it will print following:

The function does not return the response value, but the channel. However inside go I have access to my response value.

Environment

Clojurescript, cljs-http

Activity

Show:
import
November 4, 2017, 10:20 AM

Comment made by: roti

core.async version: 0.3.443
cljs-http version: 0.1.44

import
November 4, 2017, 11:43 AM

Comment made by: roti

My apologies, this is no bug. go returns a channel, and it seems that it's not possible to do what I want. This ticket can be closed.

Declined

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Priority

Minor