User bio
404 bio not found
Member since Mar 20, 2024
Posts:
Replies:

@Randy Stewart 
did you ever get SSE working with CSP? Trying to implement Data-Star with CSP, and cannot for the life of me seem to get a GET stream to stay open and actually stream, lol.

Anthony Master · Dec 18, 2024 go to post

exactly, but that was not clear until I hit this. I assumed "return" meant stop processing the rest of the line. Sort of like this in Javascript, I just assumed returned meant to return, not continue...

// a = b && c = dfunctionfoo(a, b, c, d) {
    let res = a === b ? 1 : 0; // a = bif (res === 0) { // left side of &&return res // return left side
    }
    res = c // res && c
    res = res === d ? 1 : 0// res = dreturn res
}
Anthony Master · Dec 13, 2024 go to post

I should have read this comment the first time my import failed! Updated my import file to the correct new version (the one with the `Export` and `Document` elements) and it worked like a charm. And just for reference, you don't have to put in your `zv` string or a `ts` at least with the version I am using, haha.

Certifications & Credly badges:
Anthony has no Certifications & Credly badges yet.
Followers:
Anthony has no followers yet.
Following:
Anthony has not followed anybody yet.