(options: {
readonly compaction?: boolean | undefined
})
| 755 | * @since 4.0.0 |
| 756 | */ |
| 757 | export const layerEncryptedWith = (options: { |
| 758 | readonly compaction?: boolean | undefined |
| 759 | }): Layer.Layer< |
| 760 | EventLogRemote, |
| 761 | EventLogRemoteError, |
| 762 | RpcClient.Protocol | Registry |
| 763 | > => |
| 764 | Layer.effect(EventLogRemote, makeEncryptedWith(options)).pipe( |
| 765 | Layer.provide(EventLogRemoteClient.layer), |
| 766 | Layer.provide(layerSubtle) |
| 767 | ) |
| 768 | |
| 769 | /** |
| 770 | * Provides an encrypted `EventLogRemote` using the remote RPC client and the |
no test coverage detected