import { use_ } from "../Managed/use"
import * as has from "./has"
import * as provide from "./provide"
/**
 * Provides a managed to the given effect
 */

export function provideSomeManaged(managed) {
  return (self) => use_(managed, (a) => provide.provide(a)(self))
}
/**
 * Provides a managed to the given effect
 */

export function provideServiceManaged(tag) {
  return (managed) => (self) => use_(managed, (a) => has.provideService(tag)(a)(self))
}
//# sourceMappingURL=provideManaged.js.map
