13 lines
369 B
JavaScript
Raw Normal View History

/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
import { Observable } from '../Observable';
export function scalar(value) {
var result = new Observable(function (subscriber) {
subscriber.next(value);
subscriber.complete();
});
result._isScalar = true;
result.value = value;
return result;
}
//# sourceMappingURL=scalar.js.map