本文整理汇总了TypeScript中typed-immutable-record.recordify函数的典型用法代码示例。如果您正苦于以下问题:TypeScript recordify函数的具体用法?TypeScript recordify怎么用?TypeScript recordify使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了recordify函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1:
export const messageHeaderFactory = (messageHeader: IMessageHeader) => recordify<IMessageHeader, IMessageHeaderRecord>(messageHeader);
示例2:
export const busMessageContextFactory = (busMessageContext: IBusMessageContext) => recordify<IBusMessageContext, IBusMessageContextRecord>(busMessageContext);
示例3:
export const cancellationTokenFactory = (cancellationToken: ICancellationToken) => recordify<ICancellationToken, ICancellationTokenRecord>(cancellationToken);
示例4:
export const busFactory = (bus: IBus) => recordify<IBus, IBusRecord>(bus);
示例5:
export const messageFactory = (message: IMessage) => recordify<IMessage, IMessageRecord>(message);
示例6:
export const subscriptionFactory = (subscription: ISubscription) => recordify<ISubscription, ISubscriptionRecord>(subscription);
示例7:
export const sendOptionsFactory = (sendOptions: ISendOptions) => recordify<ISendOptions, ISendOptionsRecord>(sendOptions);
示例8:
export const endpointFactory = (endpoint: IEndpoint) => recordify<IEndpoint, IEndpointRecord>(endpoint);
示例9:
export const sendRuleFactory = (sendRule: ISendRule) => recordify<ISendRule, ISendRuleRecord>(sendRule);