average-vr-56795
06/13/2018, 8:25 AMand_then block will be run off-thread, there are no guarantees that the object referred to as self actually exists which that callback in scheduled.aloof-angle-91616
06/13/2018, 5:36 PMaloof-angle-91616
06/13/2018, 5:36 PMaverage-vr-56795
06/13/2018, 5:55 PMawait means that self must still be on the stack when the function is done executing.aloof-angle-91616
06/13/2018, 5:56 PMself to be on the stack? / is there a better intro than just reading the rfcaverage-vr-56795
06/13/2018, 5:59 PMaloof-angle-91616
06/13/2018, 5:59 PMaloof-angle-91616
06/13/2018, 5:59 PMaloof-angle-91616
06/13/2018, 6:00 PM'static lifetime requirement when using futures?aloof-angle-91616
06/13/2018, 6:01 PMaverage-vr-56795
06/13/2018, 6:10 PMaverage-vr-56795
06/13/2018, 6:10 PMaverage-vr-56795
06/13/2018, 6:11 PMaloof-angle-91616
06/13/2018, 6:12 PMaloof-angle-91616
06/13/2018, 6:13 PMawait! might approximately map to "keep this thread (with its stack) frozen until the future we're waiting on is ready" which would make extreme sense to me but might be jumping to conclusions, will look moreaverage-vr-56795
06/13/2018, 6:13 PMaverage-vr-56795
06/13/2018, 6:13 PMaloof-angle-91616
06/13/2018, 6:15 PMaverage-vr-56795
06/13/2018, 6:16 PMaverage-vr-56795
06/13/2018, 6:17 PMaloof-angle-91616
06/13/2018, 6:17 PMaverage-vr-56795
06/13/2018, 6:18 PM