UNPKG
cli-legend
Version:
latest (1.0.0)
1.0.0
"A fun command-line rogurelike dungeon game"
github.com/SamparkBhol/roguemaze
SamparkBhol/roguemaze
cli-legend
/
RogueMaze
/
node_modules
/
rxjs
/
dist
/
esm
/
internal
/
operators
/
sampleTime.js
7 lines
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ asyncScheduler }
from
'../scheduler/async'
;
import
{ sample }
from
'./sample'
;
import
{ interval }
from
'../observable/interval'
;
export
function
sampleTime
(
period, scheduler = asyncScheduler
) {
return
sample
(
interval
(period, scheduler)); }
//# sourceMappingURL=sampleTime.js.map