Thomas Grainger
Thomas Grainger
can we also support `_.flow` or provide a flow/compose function: ```js // Current const results = of(1, 2, 3) .chain(source => filter(source, x => x % 2 === 0)) .chain(source...
@mattpodwysocki I'd like to be able to use a flow function to create other functions: ```js import * as ix from 'ix/fp/es'; const process = ix.flow( v => ix.of(...v), ix.filter(x...
and if/when `|>` is released I'd like to be able to use that. ```js import * as ix from 'ix/fp/es'; const process = v => ix.of(...v) |> ix.filter(x => x...
@mattpodwysocki ah good stuff. how about a single namespace to import from?
@mattpodwysocki I mean the whole library in fp/pipe form. Currently you're doing it like: ```js import { AsyncIterableX as AsyncIterable } from 'ix'; import { map, filter } from 'ix/asynciterable/pipe';...
@adiroiban I think it's ready to go
I made this https://gist.github.com/graingert/d20fdaa41511c4cccb756259ee477444#file-trio_in_asyncio-py-L149-L158 does that help?
> Kill a task permanently, as if the coroutine object had completed (with some value or exception), even though it hasn't. Used when exiting a task that we don't plan...
@viralmutant please show the output of the code when you run on python3.10 and pytest-asyncio==0.18.3
You can't use a yield inside an httpx.AsyncClient like that, you need the `@contextlib.asynccontextmanager` See https://discuss.python.org/t/preventing-yield-inside-certain-context-managers/1091