In rxjs, how do I get the last value from a switchMap that is ended by takeUntil?

后端 未结 0 404
旧巷少年郎
旧巷少年郎 2021-02-08 02:16

Here is a typical rxjs example of drag-and-drop:

const drag$ = mousedown$.pipe(
  switchMap(
    (start) => {
      return mousemove$.pipe(map(move => {
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题