mirror of
				https://github.com/mickael-kerjean/filestash.git
				synced 2025-11-04 05:27:04 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			246 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			246 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import rxjs from "../../lib/rx.js";
 | 
						|
 | 
						|
const action$ = new rxjs.ReplaySubject(1);
 | 
						|
action$.next(null);
 | 
						|
 | 
						|
export function getAction$() {
 | 
						|
    return action$.asObservable();
 | 
						|
}
 | 
						|
 | 
						|
export function setAction(actionTarget) {
 | 
						|
    action$.next(actionTarget);
 | 
						|
}
 |