What does $ sign at the end of function name indicate?

前端 未结 4 1591
自闭症患者
自闭症患者 2020-12-24 05:12

Here is the code I\'m reviewing...

import { Observable } from \'rxjs/Rx\';
// reducer
import { playerRegister, PlayerState } from \'./player\';
export functi         


        
4条回答
  •  轮回少年
    2020-12-24 05:54

    I'm not sure if it's used more widely than within the RxJS community, but within this community it's commonly used to indicate that a variable is a stream (i.e. an Observable) or that a function returns such a stream.

提交回复
热议问题