UNPKG

@othree.io/chisel-aws

Version:

AWS Support for Chisel

7 lines 651 B
import { SNSClient } from '@aws-sdk/client-sns'; import { actor } from '@othree.io/chisel'; import { ChiselShardedSnsConfiguration, ChiselSnsConfiguration } from './types'; export declare const hashCode: (value: string) => number; export declare const publishShardedEvent: (hashCode: (value: string) => number) => <AggregateRoot>(snsClient: SNSClient, configuration: ChiselShardedSnsConfiguration<AggregateRoot>) => actor.PublishEvent<AggregateRoot>; export declare const publishEvent: <AggregateRoot>(snsClient: SNSClient, configuration: ChiselSnsConfiguration<AggregateRoot>) => actor.PublishEvent<AggregateRoot>; //# sourceMappingURL=actor.d.ts.map