package temporal_fileprocessing

Import Path
	github.com/pancsta/asyncmachine-go/examples/temporal_fileprocessing (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files fileprocessing.go
Package-Level Type Names (total 3)
/* sort by: | */
type BlobStore (struct)
func FileProcessingFlow(ctx context.Context, log Logger, filename string) (*am.Machine, error)
MachineHandlers is a struct of handlers & their data for the FileProcessing machine. None of the handlers can block. BlobStore *BlobStore DownloadedName string default handler for the build in Exception state Filename string ProcessedFileName string DownloadingFileState is a _final_ entry handler for the DownloadingFile state. ExceptionState is a final entry handler for the StateException state. Args: - err error: The error that caused the StateException state. - panic *ExceptionArgsPanic: Optional details about the panic. ProcessingFileEnd is a _final_ exit handler for the ProcessingFile state. ProcessingFileState is a _final_ entry handler for the ProcessingFile state. UploadingFileEnd is a _final_ exit handler for the UploadingFile state. UploadingFileState is a _final_ transition handler for the UploadingFile state.
Package-Level Functions (only one)
FileProcessingFlow is an example of how to use the FileProcessing machine.