Function definePollingTrigger
- definePollingTrigger<Cred, State>(): (<Name, InputParamsSchema, PayloadSchema>(definitionInput) => PollingTriggerDefinition<Name, Cred, State, InputParamsSchema, PayloadSchema>)
Returns (<Name, InputParamsSchema, PayloadSchema>(definitionInput) => PollingTriggerDefinition<Name, Cred, State, InputParamsSchema, PayloadSchema>)
- <Name, InputParamsSchema, PayloadSchema>(definitionInput): PollingTriggerDefinition<Name, Cred, State, InputParamsSchema, PayloadSchema>
Type Parameters
Name extends string
InputParamsSchema extends TObject<TProperties>
PayloadSchema extends AnyTriggerPayloadSchemaShape | TriggerPayloadSchemaFn<Cred, InputParamsSchema>
Parameters
definitionInput: PollingTriggerDefinitionInput<Name, Cred, State, InputParamsSchema, PayloadSchema>
Returns PollingTriggerDefinition<Name, Cred, State, InputParamsSchema, PayloadSchema>
Used to define a Connector Polling Trigger.