see this code [mofuw](https://github.com/2vg/mofuw/blob/master/mofuw.nim)

i trying make own async method approach

but, sometimes it works and seldom goes well ...

i found using spawn method passed pointer is nil.

i checked in this part 
[mofuw#L108](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L108)

i think my code is not the best approach, but i think that this will work, but 
it does not work.

these are the code of the approach I am thinking about now

[mofuw#L15](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L15)

[mofuw#L58](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L58)

[mofuw#L93](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L93)

[mofuw#L129](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L129)

[mofuw#L181](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L181)

[mofuw#L192](https://github.com/2vg/mofuw/blob/master/mofuw.nim#L192)

anyone know what is wrong ? is there any other good way ?

Reply via email to